Change the WordPress login URL

Move your login page to a URL only you know. WP Masquerade tests it before activating it, so you can’t lock yourself out.

Pro goes furtherLimited attempts and two-factor authentication.Two-factor authentication

What this module does

Every bot knows where to log in to a WordPress site: /wp-login.php and /wp-admin/. The Login page module gives you a custom URL, for example /member-area/, then closes the old one to visitors who aren’t logged in.

Why it helps

Mass password-guessing attacks go after the standard login URL first. When it returns “page not found”, most bots move on, your logs stay cleaner, and an attempt on the old URL can be counted as a trap.

Tested before it goes live

The new URL is only activated once it has proven that it works. After you save, the status changes to “Awaiting test”: click Test and activate the new login (Protection tab). If LiteSpeed Cache or another caching plugin is active, exclude the new URL from the cache first, as explained on the compatibility page.

Write down your new URL and keep it safe: it appears in the banner after activation.

Free or Pro

In the free version Free feature

  • Custom login URL
  • wp-login.php and wp-admin return a 404 to visitors who aren’t logged in; AJAX and forms keep working
  • Safe activation test

With WP Masquerade Pro Pro feature

  • Unknown AJAX and admin-post requests: 404 instead of the WordPress error; real ones keep working
  • Attempt limiting and neutral error messages (see login attempt limiting)
  • Two-factor authentication (2FA) after the password

Levels

OptionEffectVersion
No changeLogin stays on wp-login.php.Default
Add a custom URLThe new URL works, and so does the old one. Ideal for the transition.Free feature
Hide wp-login.php and wp-adminwp-login.php and wp-admin return 404 to logged-out visitors: the new address is never revealed. AJAX and forms keep working.Free feature
Also silence AJAX errorsUnknown AJAX and admin-post requests also return 404 instead of the WordPress error. Real ones keep working.Pro feature
Also limit attemptsTemporary lockout after several failures, neutral error messages.Pro feature
Users who are already logged in keep their access at every level.
"Login page" and "New login address" settings: five levels, from keeping wp-login.php to limiting login attempts, and the login path field
The login page is set up in the Protection tab (screenshot taken with Pro).

Choosing the URL

Lowercase letters, digits, and hyphens. The default suggestion is member-access; it’s better to pick a name unique to your site. Avoid a name that already matches an existing page.

Limitations and precautions

  • Test on your own site: login, logout, lost password, password reset, registration, expired session, and login through a third-party service.
  • Exclude the login URL from your page cache before testing.
  • Don’t combine this module with WPS Hide Login, WP Hide, or Hide My WP: two disguises will conflict. The diagnostics flag them.
  • If you get locked out, adding the line define('CMS_MASQUERADE_DISABLE', true); to wp-config.php reopens wp-login.php. See recovery.

Start free, upgrade to Pro when you’re ready

The free version already hides WordPress, moves the login page, blocks XML-RPC and counts bots. Pro locks down logins, renames file URLs and monitors your sites for you: known vulnerabilities, core integrity, activity log, email alerts and the update status of all your sites in your member area. From €59 per year excl. tax, far less than the cleanup offers whose prices we checked. Compare the costs.

See Pro pricing

Product tour

From installation to protection, in a few minutes

Real screenshots of the WP Masquerade Pro admin, step by step.

  1. Install the plugin

    Plugins > Add New > Upload Plugin: choose the wp-masquerade-pro.zip file from your account, then click Install Now.

    Screenshot: Install the plugin
  2. Activate it

    Activate WP Masquerade and WP Masquerade Pro, then open the settings with the Settings link.

    Screenshot: Activate it
  3. Follow the checklist

    The Getting started tab shows what is done and what is left to do, one step at a time.

    Screenshot: Follow the checklist
  4. Pick a protection mode

    Essential, Recommended or Maximum: one click ticks the right choices in every tab. You can fine-tune each setting afterwards.

    Screenshot: Pick a protection mode
  5. Choose the software to imitate

    Joomla!, for example: bots then hunt for vulnerabilities your site does not have. The look of your site does not change.

    Screenshot: Choose the software to imitate
  6. Move the login page, safely

    Choose a new login address, then test it: it is enabled only once it has been proven to work, so you cannot lock yourself out.

    Screenshot: Move the login page, safely
  7. Turn on two-step verification

    Scan the QR code with an authenticator app, then enter the 6-digit code it shows. A stolen password is no longer enough.

    Screenshot: Turn on two-step verification
  8. Watch the bots fall into the traps

    Requests for /.env, /administrator/ or /phpmyadmin come from attack bots: they are counted, with the most targeted addresses.

    Screenshot: Watch the bots fall into the traps
  9. Get alerted about vulnerabilities

    Every day, your plugins, themes and WordPress are checked against a public database of known vulnerabilities, with what to do. Alerts can go by e-mail.

    Screenshot: Get alerted about vulnerabilities
  10. Activate your licence

    Your licence key unlocks the Pro features, automatic updates and the signature feed. You can check it or move it to another site at any time.

    Screenshot: Activate your licence

WordPress security, without the noise

One e-mail when something matters: new attacks seen in the wild, plugin updates and practical guides. No spam, unsubscribe in one click.