WordPress hardening with WP Masquerade

WP Masquerade blocks XML-RPC and pingbacks for free; with Pro, the author list is hidden everywhere (/?author=, REST API, sitemap, oEmbed). The doors bots try first are closed.

Pro goes furtherThe author list is hidden everywhere (/?author=, REST API, sitemap, oEmbed).Security headers

What this module does

The Hardening module answers a simple question: which well-known entry points should you close to bots? It covers three classic WordPress weak spots.

  • Pingbacks: an old mechanism that lets attackers use your site to bounce attacks onto other sites.
  • XML-RPC (xmlrpc.php): a legacy remote publishing interface, often used to try passwords in bulk.
  • The author list: /?author=1 URLs, the /wp/v2/users API, the author sitemap (wp-sitemap-users-1.xml) and oEmbed responses all reveal author usernames or names.

Why it matters

Automated attack tools probe these three points every time. Closing them shrinks your attack surface without changing anything for your visitors, as long as you don’t use the features involved.

The levels

OptionEffectVersion
No restrictionsNo restrictions added.Default
Turn off pingbacksRemoves the pingback methods from XML-RPC and adds the nosniff security header.Free feature
Block XML-RPCxmlrpc.php returns a 404. Also cuts off the old WordPress mobile app and some services (Jetpack).Free feature
Hide the author listBlocks author archives (/?author=), public /wp/v2/users requests and the author sitemap; removes the author name and URL from oEmbed responses; makes login error messages neutral. Other REST routes stay available, as do authenticated requests.Pro feature
Limit login attemptsTemporarily blocks an IP address after several failed attempts.Pro feature
Each option includes the ones above it. Levels 1 and 2 are free; levels 3 and 4 come with WP Masquerade Pro.
"Hardening" setting: turn off pingbacks, block XML-RPC, hide the author list, limit login attempts
The five options of the Hardening module (screenshot taken with Pro).

Free or Pro

In the free version Free feature

  • Pingbacks turned off, plus the nosniff header
  • XML-RPC blocked (404)

With WP Masquerade Pro Pro feature

  • Author list hidden: /?author=, REST API, author sitemap, author in oEmbed responses
  • Neutral login error messages
  • Login attempt limiting
  • Additional security headers: X-Frame-Options, Referrer-Policy, Permissions-Policy, CSP, HSTS

How to set it up

In the Protection tab, start with “Turn off pingbacks”: it’s risk-free. Move up to “Block XML-RPC”, or with Pro to “Hide the author list”, only if you don’t use the features involved: the WordPress mobile app, Jetpack, remote publishing tools, or integrations that read the user list.

Limits and precautions

  • Hiding the author list closes some enumeration methods, but it doesn’t hide names published elsewhere on the site.
  • Blocking XML-RPC can break mobile apps and remote integrations: check the ones you use.
  • Hardening doesn’t fix vulnerabilities in themes or plugins, and it doesn’t replace a web application firewall.

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.