Security module Free feature

Block author enumeration

Redirects author enumeration requests to your homepage, so scanners cannot harvest the usernames they need for a brute force run.

What it does

Closes a URL that hands out usernames

Block author enumeration is a Vectro security feature that redirects author query requests to your homepage, preventing scanners from harvesting the WordPress usernames they need for a brute force attack.

Request /?author=1 on a default WordPress site and it redirects to that user archive – and the redirect URL contains the account username. Increment the number and you can walk the whole user list without logging in.

This feature intercepts those requests and sends them to your homepage instead. No user archive, no username in the URL, nothing for a scanner to collect.

It is a small change with a specific job: it removes the first half of a brute force attempt.

Why it matters

A password guess needs a username first

Brute force against WordPress is usually described as password guessing, but every attempt needs two values. Author enumeration hands over the first one for free, and it is exactly the accounts an attacker wants: user ID 1 is very often the original administrator.

Once a valid username is confirmed, the attack becomes far more efficient – and error messages that distinguish a wrong username from a wrong password make it more efficient still. Blocking enumeration forces an attacker to guess both halves at once, which is a much poorer use of their time.

Blocks ?author=N walking
Sequential author requests no longer resolve to user archives that reveal usernames.
Redirects rather than errors
Requests go to the homepage, which gives a scanner no signal that anything was blocked.
No effect on real visitors
People browsing your site normally never construct these URLs.
Best paired with generic errors
Combine with Hide login errors so neither the username nor the password can be confirmed independently.

How to use it

Enable it, then try to enumerate yourself

1
Open the Security module
Go to Vectro > Security in wp-admin.
2
Toggle Block Author Enumeration on
Author query requests start redirecting immediately.
3
Save Security Settings
No configuration values are needed.
4
Check whether you use author archives
On sites with plain permalinks, author archive links use ?author=N and will now redirect. Pretty /author/name/ pages are not affected.
5
Verify
In a private window, load your-site.com/?author=1. You should land on the homepage with no username visible in the address bar.

Technical detail

What is intercepted

Vectro checks every front-end request for an author query parameter, whether or not the visitor is logged in, and issues a 301 redirect to the site homepage before WordPress resolves the query into a user archive. Because the redirect happens before resolution, the username never appears in a response.

Author archives at pretty permalink addresses such as /author/name/ keep working, because they do not carry an author query parameter. On a site using plain permalinks, where author archives are reached through ?author=N, those links will redirect to the homepage.

Intercepts
Any front-end request carrying an author query parameter, logged in or not.
Response
301 redirect to the site homepage, before WordPress resolves the user archive.
Admin traffic
Not affected. Requests inside wp-admin are never redirected.
Check after enabling
Sites using plain permalinks, where author archives use ?author=N.
Complements
Hide login errors, which closes the other username confirmation route.
On deactivation
Author queries resolve normally again.

Compatibility

Vectro detects these and steps aside

All In One Security
Vectro stops its own author query blocking while All In One Security is active.

You can override any automatic deferral from the Compatibility panel in Vectro’s dashboard if you would rather Vectro handle it.

Questions

Frequently asked

What is WordPress author enumeration?

Author enumeration is requesting URLs such as /?author=1 on a WordPress site, which redirects to a user archive whose address contains that account username. Incrementing the number lets an attacker collect usernames without logging in.

Does blocking author enumeration work with other security plugins?

If All In One Security is active, Vectro detects it and switches its own author enumeration blocking off, leaving it to All In One Security. With other security plugins, Vectro keeps redirecting author queries as normal.

How do I block author enumeration in Vectro?

Go to Vectro > Security in wp-admin and toggle Block Author Enumeration on. Test it by loading your-site.com/?author=1 in a private window, which should send you to the homepage with no username in the address bar.

Is blocking author enumeration in Vectro free or Pro?

Yes, Blocking author enumeration is free. It is included in the free Vectro plugin on WordPress.org with no account required.

Will blocking author enumeration break my author archive pages?

Not if your site uses pretty permalinks. Archive pages at /author/name/ keep working, because Vectro only redirects requests that carry an ?author= query parameter. On a site using plain permalinks, author archive links use ?author=N and will redirect to the homepage.

Related features

Stop usernames leaking anywhere

Vectro Pro adds a login activity log showing every login attempt with IP and browser details. See Pro plans

Download Vectro free on WordPress.org

27 features across Security, Performance and Maintenance. No account required, no expiry, unlimited sites.

Scroll to Top