Stop User Enumeration

Stop User Enumeration

What It Does

User enumeration is a technique attackers use to discover valid usernames on your WordPress website. This module blocks the usual methods used to list accounts.

It prevents access to author pages (?author=): they redirect to the homepage. It also blocks the REST endpoint /wp/v2/users, including when the URL has a language prefix (/fr/, /en/, and so on). Author data exposed through ?_embed= or HAL author links is stripped from REST responses. The /me/ endpoint remains readable for the logged-in user.

Why It Matters

Security vulnerabilities can expose your website, user data, and business to serious risks.

By putting this security measure in place, you protect your website against threats and potential attacks. Without this protection, an attacker can collect a list of logins and then run a targeted brute-force attack.

How to Use

Activate this module in the Users & Login section of SecuPress settings. Check Yes, prevent user and author enumeration.

Once activated, the module works automatically. Front-end author pages are hidden. If you use the WooCommerce Mobile App, do not activate this module: it needs to list users.

If you encounter any issues after activation, you can temporarily deactivate the module. The module will automatically remove its protection rules when deactivated.