Disable Author Archive Redirection
v2.2.0kimipooh · 2020年3月11日 上架
The plugin disables the author archive redirection.
- 正在使用
- 20+
- 评分
- 暂无
- 累计下载
- 3,157
- 最近更新
- 2026年5月17日
贡献者
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.