πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
Protect WP Login – Password Protect wp-login.php with Basic Auth icon
Actively maintained Tested with WP 7.1 #12 in Basic auth

Protect WP Login – Password Protect wp-login.php with Basic Auth

Protect WP Login adds a second password in front of your WordPress login page. Before the login form is shown, the web server asks for an extra username and password (HTTP Basic Authentication through .htaccess). Bots…

Active installs<10New
Downloads Β· 30d82β–Ό -54.2% vs prev. 30d
Ratingβ€”0 reviews
Health score60/100Fair
All-time downloads1.3KSince Sep 2024
Support resolvedβ€”No recent threads
RequiresWP 6.0PHP 7.4+
Downloads Β· 7d9β–Ό -65.4% week over week
Our verdict

Use with caution

Protect WP Login works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

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

Daily downloads

132639Sep 4Oct 18Dec 2
Yesterday4
Daily average (1y)1
Peak day52Oct 14, 2026
Last 12 months508

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

Rankings

Where Protect WP Login stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
Basic auth #34 407 Best Basic auth plugins β†’
Brute Force >100 783 Best Brute Force plugins β†’
htaccess >100 1,918 Best htaccess plugins β†’
login >100 10,000 Best login plugins β†’
security >100 10,000 Best security plugins β†’

About Protect WP Login

From the official readme Β· v1.1.2

Description

Protect WP Login adds a second password in front of your WordPress login page. Before the login form is shown, the web server asks for an extra username and password (HTTP Basic Authentication through .htaccess). Bots and brute force attacks are rejected by the server, so they never reach WordPress, PHP or your database.

Why protect wp-login.php at the server level?

Every request to wp-login.php loads WordPress and queries the database, even when it comes from a bot trying thousands of passwords. Plugins that limit login attempts or add a CAPTCHA still have to do that work for every attempt. With Protect WP Login the server rejects those requests before WordPress starts:

  • Brute force bots don’t consume PHP or database resources.
  • Attackers never see your login form, so they can’t try WordPress passwords.
  • No CAPTCHA to solve and no extra scripts on the login page.
  • It works together with Wordfence, Limit Login Attempts, two-factor authentication and other security plugins: it’s one more layer in front of them.

Features

  • Password protects wp-login.php with server-level HTTP Basic Authentication.
  • Optionally protects xmlrpc.php, another common target of brute force attacks.
  • Creates a random username and password on activation, and keeps them visible until you confirm you saved them.
  • Checks the protection right after writing the rules. If your hosting doesn’t support them, they are removed automatically so your site keeps working.
  • Status panel that shows whether the protection is really active.
  • Password protected posts keep working for your visitors.
  • Unlimited users, managed from the WordPress admin.
  • Translated into English, Spanish, German, French, Italian and Portuguese.

How it works

  1. A visitor or a bot opens wp-login.php.
  2. The web server asks for the extra username and password managed by the plugin.
  3. Only with the right credentials the usual WordPress login form is shown. Wrong credentials are rejected by the server.

Requirements

  • Apache or LiteSpeed web server with .htaccess support (most shared hosting). On Nginx, the plugin shows the configuration to add to the server.
  • Single site installations. WordPress Multisite is not supported yet.

Installation

  1. Install the plugin from ‘Plugins > Add New Plugin’, or upload the plugin files to the /wp-content/plugins/protect-wp-login directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You will be taken to the ‘Protect WP Login’ page, where the generated username and password are shown. Save them before logging out, or create your own users on the same page.

Changelog

Translation improvements.

1.1.2

  • Translations: the plugin name is no longer translated, and Spanish uses the informal form, following the WordPress.org translation style guides.

1.1.1

  • New: interface translated into Spanish, German (formal and informal), French, Italian and Portuguese (Brazil and Portugal). Regional variants, such as Spanish from Argentina or Mexico, use the closest translation.
  • New: link to leave a review on the plugin page.
  • Improved description, FAQ and screenshots.
  • Updated plugin and author URLs.

1.1

  • New: the generated credentials stay visible until you confirm you saved them (before, they disappeared after 60 seconds).
  • New: automatic check after writing the rules. If the server returns an error 500, the rules are removed so the site keeps working.
  • New: status panel with the protection state and a “Check again” button.
  • New: option to also protect xmlrpc.php.
  • New: instructions for Nginx servers.
  • Fix: password protected posts asked visitors for the extra credentials.
  • Fix: passwords with special characters (such as < or %) were changed before being saved.
  • Fix: the rules were duplicated when reactivating the plugin, and were not removed from .htaccess files with Windows line endings.
  • Fix: uninstalling the plugin now also removes the rules from .htaccess.
  • Fix: the global ErrorDocument 401/403 rules no longer affect the rest of the site.
  • Security: web access to the folder that stores the password file is now blocked.
  • Improvement: the plugin no longer touches the file system on every page load.
  • Tested with WordPress 7.1 and PHP 8.2.

1.0

  • Initial release.

Full changelog on WordPress.org β†’

Screenshots

Status panel: the protection is active, with the XML-RPC option and the list of users.
Status panel: the protection is active, with the XML-RPC option and the list of users.
The username and password generated on activation stay visible until you confirm you saved them.
The username and password generated on activation stay visible until you confirm you…
A reminder is shown on the dashboard until the generated credentials are saved.
A reminder is shown on the dashboard until the generated credentials are saved.
The browser asks for the extra username and password before showing wp-login.php.
The browser asks for the extra username and password before showing wp-login.php.
After the extra authentication, the usual WordPress login form appears.
After the extra authentication, the usual WordPress login form appears.
Adding a new user. The list shows all the users that can pass the extra authentication.
Adding a new user. The list shows all the users that can pass the extra authentication.
If the hosting doesn't support the rules, they are removed automatically and the panel explains why.
If the hosting doesn't support the rules, they are removed automatically and the panel…

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 Protect WP Login alternatives

All Basic auth plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 HTTP Auth HTTP Auth HTTP Basic Auth for WordPress: protect admin pages on production and complete staging or… by Sami Ahmed Siddiqui 6K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.2 (6) 1 week ago 81
2 WP BASIC Auth WP BASIC Auth Enabling this plugin allows you to set up Basic authentication on your site using your… by wokamoto 3K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 3.6 (7) 4 years ago 34
3 WP Basic Authentication WP Basic Authentication Basic Authentication for protected your development WordPress site like .htpasswd by nutttaro 2K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (5) 6 months ago 62
4 HTTP Basic Auth HTTP Basic Auth Basic Auth for Wordpress. by Grzegorz Rola 200+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 1 (1) 5 years ago 21
5 VA Simple Basic Auth VA Simple Basic Auth Simply by enabling the plugin can set up a basic auth to dashboard and login page. by kuck1u 60+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (1) 10 years ago 32
6 Simple REST API Authenticaton with WooCommerce Credentials Simple REST API Authenticaton with WooCommerce Credentials Simple REST API Authentication plugin for WordPress - a powerful solution for integrating… by oneteamsoftware 60+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (1) 2 months ago 71
7 WP Similar Basic Auth WP Similar Basic Auth Protect WordPress admin page on similar Basic Auth without .htaccess. by 256hax 10+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 6 years ago 23
8 VA Simple Enhanced Security VA Simple Enhanced Security This plugin will enhance the security of your WordPress. by kuck1u 10+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (2) 11 years ago 30
9 MirSecure MirSecure MirSecure protects your WordPress REST API by allowing access only to authenticated users. by mirmehranarjmand <10 β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 5 months ago 49
10 Mir Post Importer Mir Post Importer Securely import WordPress posts from authenticated remote websites using the WordPress REST… by mirmehranarjmand <10 β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 5 months ago 49

FAQ

Protect WP Login: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Protect WP Login free?

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

Is Protect WP Login safe to use in 2026?

Protect WP Login works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

How many websites use Protect WP Login?

Protect WP Login is active on <10 WordPress websites and has been downloaded 1,341 times since it launched in September 2024. It was downloaded 82 times in the last 30 days.

Does Protect WP Login work with WordPress 7.1?

Yes. The developer has tested Protect WP Login up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does Protect WP Login need?

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

When was Protect WP Login last updated?

The latest version, 1.1.2, was released on October 14, 2026 (2 months ago).

Who makes Protect WP Login?

Protect WP Login is developed and maintained by Click.ar.

What are the best alternatives to Protect WP Login?

The most popular alternatives to Protect WP Login are HTTP Auth (6K+ installs), WP BASIC Auth (3K+ installs) and WP Basic Authentication (2K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↡ to open