
This plugin allows you apply HTTP Auth on your site. You can apply Http Authentication all over the site or only the admin pages.
| Author: | Sami Ahmed Siddiqui (profile at wordpress.org) |
| WordPress version required: | 4.9 |
| WordPress version tested: | 7.1.5 |
| Plugin version: | 1.1.0 |
| Added to WordPress repository: | 18-02-2016 |
| Last updated: | 23-11-2026 |
| Rating, %: | 84 |
| Rated by: | 6 |
| Plugin URI: | https://www.yasglobal.com/web-design-developm... |
| Total downloads: | 87 495 |
| Active installs: | 6 000+ |
![]() Click to start download |
|
HTTP Auth adds a browser username and password prompt (HTTP Basic Authentication) in front of your site, before WordPress or any login form loads.
Use it to:
- Protect production admin pages from brute-force attacks: the login page, admin pages and XML-RPC ask for an extra username and password.
- Hide development and staging sites from visitors and search engines by protecting every page.
- Use one database everywhere. Choose the protection for each site URL, so production, staging and dev each get the right protection, even after your host copies the site between environments.
Features
- Sites: set None, Admin Site or Complete Site for each site URL, with wildcards like
*.example.comand a default for any other site. - Push safe: hosts like WP Engine, Kinsta and Pantheon rewrite URLs when copying a site. HTTP Auth stores its site list so it is not rewritten, and site URLs can also be defined in
wp-config.phpor code. - Credentials per mode and per site: Admin Site and Complete Site have their own username, password and message, and any site can use its own instead.
- Multisite: when network activated, manage every site from Network Admin.
- Brute-force throttling: too many failed attempts from one IP are blocked for a while.
- Lockout escape:
define( 'HTTP_AUTH_DISABLE', true );inwp-config.phpturns it off without touching settings. - Secure storage: passwords are hashed, never stored or shown in plain text.
- Works with caching, WP-Cron and WP-CLI: protected pages are not cached, and cron and CLI requests are never blocked.
Help Us Improve!
If you are happy with the plugin, please leave a review on WordPress.org. Your feedback keeps it improving.
Bug Reports
Bug reports are welcome on GitHub. For questions and help, please use the support forum.
Screenshots
FAQ
ChangeLog




