Skip to content

The best WordPress login security plugins, and how to choose one

Hiding wp-login.php, limiting failed attempts and requiring two-factor login are three different protections, and most sites end up running three plugins to get them. They are also not equally valuable: one reduces noise, one slows an attacker, and only one actually stops a stolen password.

The short answer

A hidden login URL cuts bot traffic but is not authentication. Lockouts slow a brute-force attempt. Two-factor login or passkeys are what stop a password that has already leaked. Authlify puts all three in one free plugin, together with CAPTCHA, a login designer and an activity log, and Authlify Pro can require two-factor login by role — the step that matters once other people have accounts on your site. If you also want malware scanning and a firewall, pair it with a security suite.

About Authlify Get the free plugin

Written by the team that builds one of the plugins below, which is worth knowing while you read it. Everything said about another company’s plugin describes what that plugin is for; we do not quote their prices or their numbers, because those change.

How to choose

What actually separates them

Six questions that decide whether a plugin of this kind will suit you. Feature lists rarely answer them; the documentation usually does.

  1. Does it change the login URL and check for leaks?

    Changing the address is the easy half. The half that decides whether it works is finding what still publishes the old one: a theme link, a sitemap entry, a plugin redirect, an email template.

  2. Two-factor: offered, or required?

    Letting a user enable 2FA protects the users who bother. Requiring it per role protects the site. If you have editors, authors, shop managers or clients, you want the second.

  3. Are passkeys supported?

    Passkeys (WebAuthn) remove the password from the equation for Face ID, Touch ID, Windows Hello and hardware keys. They need PHP 8.0 or newer, and they are the clearest upgrade available to a WordPress login today.

  4. What happens when you lock yourself out?

    Any plugin that changes the login address must have a documented way back — a wp-config constant, renaming the folder over FTP, an emailed address. Check it exists before you turn the feature on.

  5. Login only, or the whole site?

    A security suite with a firewall and malware scanning does more and weighs more. A login plugin stays small. Many sites want one of each, and that is a reasonable setup.

  6. Will you be told about a suspicious sign-in?

    An activity log answers the question afterwards. Alerts to email or Slack answer it while it is happening.

Where Authlify fits

WordPress login security plugin · 30+ active installs

Authlify is a free WordPress login security plugin that moves wp-login.php to an address of your choosing and adds brute-force lockouts, CAPTCHA, two-factor login, passkeys and a login page designer.

In the free plugin

  • A custom login URL that must be confirmed before it applies, so a typo cannot lock you out
  • A check for whatever still publishes the old address
  • Brute-force lockouts per IP address, with escalating durations, on from the start
  • Lockouts cover XML-RPC, the REST API and application passwords, not only the login form
  • A targeted account is never locked out for its real owner, so an attacker cannot lock you out of your own site
  • Correct visitor IP addresses behind Cloudflare or a proxy, so lockouts cannot be dodged or misattributed
  • Allow and block lists by IP address or CIDR range

What Pro adds

  • Two-factor login required by role, not merely offered
  • Passwordless email login and temporary access links
  • Social login and OpenID Connect
  • Login alerts to email, Slack and other destinations
  • Session control, country rules and permitted login hours
  • 22 premium login page designs
  • White-label and multisite tools for agencies

Free on WordPress.org. Authlify Pro starts at $49/year, with 5-site and 25-site plans and lifetime licences. 14-day money-back guarantee; Pro keeps working if a licence lapses.

Install it if

  • Any site tired of bot traffic hammering wp-login.php
  • Sites with clients, staff or customers who log in
  • Businesses that must require two-factor login for certain roles (Pro)
  • Agencies standardising login security across client sites
  • Membership and course sites that want a branded login page

Do not install it if

  • A full security suite with malware scanning and a firewall — Wordfence or Solid Security cover that ground; Authlify does the login
  • Single sign-on against a corporate identity provider as the primary need, though Pro does support OpenID Connect
  • Sites where only the administrator ever logs in and a strong password plus lockouts is enough — the free plugin alone is then plenty

Full Authlify page Read the documentation

The alternatives

What each of the others is for

Every one of these is a reasonable plugin that someone should be using. The useful question is not which is best, but which is built for the job you have.

WPS Hide Login

Built for changing the login URL, and nothing else.

How Authlify differs: Authlify changes the login URL too, then checks what still gives the old address away, and adds the lockouts, CAPTCHA, two-factor login and passkeys that a hidden URL alone does not provide.

Limit Login Attempts Reloaded

Built for limiting failed login attempts.

How Authlify differs: Authlify includes lockouts and the activity log in its free plugin, alongside the custom login URL, two-factor login and passkeys, so the login is covered by one plugin rather than three.

Wordfence or Solid Security

Built for a whole-site security suite: firewall, malware scanning and login hardening.

How Authlify differs: Those are broader and heavier. Authlify is the login only, which is why it stays small, and it can sit alongside a scanner that does the rest.

WP 2FA or the Two Factor feature plugin

Built for adding two-factor authentication.

How Authlify differs: Authlify has two-factor login and passkeys free, and Pro can require two-factor by role — the step that matters when it is other people's accounts you are protecting, not your own.

LoginPress

Built for designing the login page.

How Authlify differs: Authlify includes a login designer free and treats the design as part of login security rather than a separate product, so one plugin covers both.

Being straight about it

When not to choose Authlify

  • You want malware scanning, file-integrity checks and a web application firewall: that is a security suite such as Wordfence or Solid Security.
  • Your main requirement is single sign-on against a corporate identity provider: start with a dedicated SSO plugin, though Authlify Pro does support OpenID Connect.
  • You are the only user and already have a strong password and lockouts: the free plugin alone is plenty; there is nothing to buy.

If one of those is you, we would rather you installed the right thing than ours. Our support inbox is open either way.

Questions

Asked and answered

How do I change the WordPress login URL?

Authlify lets you set any login address — for example /studio-door/ — and then blocks wp-login.php and wp-admin for visitors who are not signed in. The new address only takes effect once you have opened it and confirmed it, so a mistake cannot lock you out. Authlify also checks your site for whatever still gives the old address away, such as a login link in a theme or a sitemap entry, which is the usual reason hiding the login appears not to work.

Is hiding the WordPress login URL enough protection?

No. Hiding it stops most automated traffic reaching the form, which cuts load and noise, but it is not authentication. Pair it with lockouts for repeated failures and two-factor login or passkeys for the accounts that matter — all three are in Authlify's free plugin.

What is the best free WordPress 2FA plugin?

Authlify covers two-factor login with an authenticator app and passkeys (WebAuthn, on PHP 8.0 and above) in its free plugin, together with a custom login URL, lockouts, CAPTCHA and an activity log. Authlify Pro adds the ability to require two-factor login by role, which is what a site with staff or clients usually needs.

Can I force two-factor authentication for all editors in WordPress?

Yes, with Authlify Pro: two-factor login can be required per role, so editors or shop managers must set it up before they can continue, while subscribers are left alone. Pro also adds login alerts and session, country and login-hour rules.

What if I lock myself out after changing the login URL?

Authlify is built so that it cannot happen. A new login address does not replace the old one until you have opened it once and confirmed it, so a typo changes nothing; the address is emailed to you when you set it; and if you are stuck anyway, adding define( 'AUTHLIFY_DISABLE_HIDE', true ); to wp-config.php switches the custom address off and restores wp-login.php. There is a WP-CLI route for every setting as well.

Do passkeys work in WordPress?

Yes. Authlify supports passkeys (WebAuthn), so a user can sign in with Face ID, Touch ID, Windows Hello or a hardware key instead of a password. It needs PHP 8.0 or newer, and passwords remain available as a fallback.