跳到内容

Disable Author Archive Redirection

v2.2.0

kimipooh · 2020年3月11日 上架

The plugin disables the author archive redirection.

正在使用
20+
评分
暂无
累计下载
3,157
最近更新
2026年5月17日
需要 WordPress 6.0+已测试到 7.0.9PHP 8.0+

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums