BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
WP Basic Authentication icon
Maintained Tested up to 7.0.6 #19 in authentication

WP Basic Authentication

Basic Authentication for protected your development WordPress site like .htpasswd

Active installs2K+1K+ tier
Downloads · 30d1.2K▼ -11.8% vs prev. 30d
Rating5/55 reviews
Health score68/100Good
All-time downloads52.2KSince Sep 2020
Support resolved—No recent threads
RequiresWP 5.7PHP 7.4+
Downloads · 7d231▼ -28.7% week over week
Our verdict

Solid choice

WP Basic Authentication is a solid plugin choice in 2026, with a few things worth checking first. It runs on 2K+ sites, is rated 5/5 and was last updated 4 months ago, and scores 68/100 on our health check.

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

265380Jun 28Aug 11Sep 25
Yesterday38
Daily average (1y)49
Peak day641May 25, 2026
Last 12 months18K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where WP Basic Authentication stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
authentication #8 4,250 Best authentication plugins →
Basic auth #1 350 Best Basic auth plugins →
protected #18 3,341 Best protected plugins →

Version adoption

Share of active sites per release.

  • 1.254.1%
  • 1.038.4%
  • 1.17.5%

Rating breakdown

★★★★★★★★★★ 5 from 5 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP Basic Authentication

From the official readme · v1.2.1

Description

WP Basic Authentication is a plugin for protected your development WordPress site like .htpasswd and support Docker and Kubernetes (K8s)

Features:

  • Easy for setting Basic Authentication
  • Basic Authentication works like .htpasswd
  • Protected development website or demo website without .htpasswd
  • Support Docker and Kubernetes (K8s)
  • The plugin is lightweight.

Installation

  1. Upload wp-basic-authentication.zip to the install plugin page
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Authentication in the left-hand menu to start setting the plugin

Frequently asked questions

How to setting the plugin?

Go to Authentication in the left-hand menu to start setting the plugin

How to disable Authentication if I forgot the credentials

Rename or delete ‘wp-basic-authentication’ directory in plugins directory via FTP or commend line

Password Migration (v1.1.0+)

If you’re updating from a version older than 1.1.0, your existing password will be automatically migrated to the new secure hashed format. You don’t need to change your password – the plugin will handle this automatically and show you a success message in the WordPress admin.

Changelog

1.2.1

  • Tested up to WordPress 7.0
  • Use CSS custom properties for admin color scheme compatibility

1.2.0

  • Add REST API (/wp-json/) authentication toggle
  • Add path exclusion list for health checks, webhooks, and other endpoints
  • Add IP allowlist to bypass authentication for trusted addresses
  • Add production environment warning when plugin is active
  • Add uninstall cleanup — plugin options are now removed on deletion
  • Fix output escaping for translatable strings with HTML
  • Refactor shared password hash detection into a single helper function

1.1.2

  • Fix password authentication failure caused by double-hashing during save
  • Fix hash detection to support all WordPress password hash formats
  • Fix warning message HTML on settings page

1.1.1

  • Fix small issue on setting page

1.1.0

  • Hash password with automatic migration from older versions
  • Automatic password migration for users updating from pre-1.1.0 versions
  • Tested up to WordPress 6.9

1.0.3

  • Tested up to WordPress 6.5
  • Separate protected frontend and wp-login page

Full changelog on WordPress.org →

Screenshots

Basic Authentication dialog
Basic Authentication dialog
Screenshot of the menu page for Setting page.
Screenshot of the menu page for Setting page.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best WP Basic Authentication alternatives

All authentication plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Limit Login Attempts Limit Login Attempts Limit rate of login attempts, including by way of cookies, for each IP. Fully customizable. by Automattic 300K+ ★★★★★★★★★★ 4.6 (202) 3 years ago 48
2 WPS Limit Login WPS Limit Login WPS Limit login limit connection attempts by IP address by NicolasKulka 100K+ ★★★★★★★★★★ 4.9 (83) 1 week ago 81
3 Two Factor Two Factor Enable Two-Factor Authentication (2FA) using time-based one-time passwords (TOTP), email… by WordPress.org 100K+ ★★★★★★★★★★ 4.8 (208) 6 months ago 60
4 WP-Members Membership Plugin WP-Members Membership Plugin The original WordPress membership plugin with content restriction, user login, custom… by Chad Butler 50K+ ★★★★★★★★★★ 4.6 (272) 3 weeks ago 89
5 Google Authenticator Google Authenticator Google Authenticator for your WordPress blog. by Ivan 20K+ ★★★★★★★★★★ 4.3 (135) 1 month ago 83
6 miniOrange 2FA – Two Factor Authentication for WordPress (OTP, SMS, Email, Google Authenticator) miniOrange 2FA Free 2FA plugin for unlimited users with Passkey, Google Authenticator, Email/SMS OTP, Push… by miniOrange 10K+ ★★★★★★★★★★ 4.5 (385) 5 days ago 88
7 WP Limit Login Attempts WP Limit Login Attempts Limit rate of login attempts and block IP temporarily. Brute force attack protection. GDPR… by Arshid 10K+ ★★★★★★★★★★ 4.6 (300) 2 weeks ago 88
8 Login for Google Apps Login for Google Apps Simple secure login and user management through your Google Workspace for WordPress (using… by Syed Balkhi 10K+ ★★★★★★★★★★ 4.6 (64) 1 year ago 54
9 Login by Auth0 Login by Auth0 Login by Auth0 provides improved username/password login, Passwordless login, Social login… by Auth0 10K+ ★★★★★★★★★★ 3.1 (18) 2 years ago 34
10 Two Factor (2FA) Authentication via Email Two Factor (2FA) Authentication via Email Enable one-click login with this WordPress Two-Factor Authentication (2FA) plugin… by Sully 9K+ ★★★★★★★★★★ 5 (4) 2 weeks ago 83

FAQ

WP Basic Authentication: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 26, 2026

Is WP Basic Authentication free?

Yes. WP Basic Authentication is free to download and use from the official WordPress.org plugin directory.

Is WP Basic Authentication safe to use in 2026?

WP Basic Authentication is a solid plugin choice in 2026, with a few things worth checking first. It runs on 2K+ sites, is rated 5/5 and was last updated 4 months ago, and scores 68/100 on our health check.

How many websites use WP Basic Authentication?

WP Basic Authentication is active on 2K+ WordPress websites and has been downloaded 52,177 times since it launched in September 2020. It was downloaded 1,241 times in the last 30 days.

Does WP Basic Authentication work with WordPress 7.1?

WP Basic Authentication is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does WP Basic Authentication need?

WP Basic Authentication requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP Basic Authentication last updated?

The latest version, 1.2.1, was released on May 25, 2026 (4 months ago).

Who makes WP Basic Authentication?

WP Basic Authentication is developed and maintained by nutttaro.

What are the best alternatives to WP Basic Authentication?

The most popular alternatives to WP Basic Authentication are Limit Login Attempts (300K+ installs), WPS Limit Login (100K+ installs) and Two Factor (100K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.