BACK TO DIRECTORY

Disable Author Archive Redirection

by kimipooh

0.0
(0 ratings)

WordPress redirects /?author=(number) to /author/(userID) if the author id exists. This is the security vulnerability because an internet user might be able to know all User ID and the user name in a website using WordPress.

If you can control the configuration of a web server, you had better use the rewrite rule (Search as “Block Author URLs”) for reducing the system load of WordPress.

The plugin prevents the security vulnerability regarding the author archive redirection.

Detailed Behavior
1. It isn’t applied in the admin dashboard.
2. If “author” query in URL (QUERY_STRING) exists, displays 404 error.
3. If “/author/” in REQUEST_URI involves, redirects to the top page.
4. Apply to the “redirect_canonical” hook, too.

Plugin Details

Active Installs
20
Total Downloads
3,012
Version
2.2.0
Requires WP
6.0
Requires PHP
8.0
Tested Up To
7.0.4
Added
2020-03-11
Last Updated
2026-05-17 2:31am GMT

Ratings

5
0
4
0
3
0
2
0
1
0