WP Basic Authentication Plugin
Basic Authentication for protected your development WordPress site like .htpasswd
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
- Upload
wp-basic-authentication.zip
to the install plugin page - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Authentication in the left-hand menu to start setting the plugin
Screenshots

Basic Authentication dialog

Screenshot of the menu page for Featured Posts Setting page.
FAQ
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
Changelog
1.0.3
- Tested up to WordPress 6.5
- Separate protected frontend and wp-login page
1.0.2
- Tested up to WordPress 6.1.1
- Add Tip me on ko-fi
1.0.1
- Tested up to WordPress 5.8.1
1.0.0