Title: Disable Author Archive Redirection
Author: kimipooh
Published: <strong>2020 年 3 月 11 日</strong>
Last modified: 2026 年 5 月 17 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/disable-author-archive-redirection.svg)

# Disable Author Archive Redirection

 作者：[kimipooh](https://profiles.wordpress.org/kimipooh/)

[下载](https://downloads.wordpress.org/plugin/disable-author-archive-redirection.2.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/disable-author-archive-redirection/#description)
 * [评价](https://cn.wordpress.org/plugins/disable-author-archive-redirection/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/disable-author-archive-redirection/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/disable-author-archive-redirection/#developers)

 [支持](https://wordpress.org/support/plugin/disable-author-archive-redirection/)

## 描述

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.

## 安装

The operation is the simple.
 Please install this plugin and activate it.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Disable Author Archive Redirection」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ kimipooh ](https://profiles.wordpress.org/kimipooh/)

「Disable Author Archive Redirection」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/disable-author-archive-redirection/contributors)
为本插件所做的贡献。

[帮助将「Disable Author Archive Redirection」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/disable-author-archive-redirection)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/disable-author-archive-redirection/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/disable-author-archive-redirection/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/disable-author-archive-redirection/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/disable-author-archive-redirection/)。

## 更新日志

#### 2.2.0

 * Tested up to WordPress 7.0.
 * Fixed WordPress.org Plugin Check errors and warnings.
 * Improved security checks for direct file access, nonce validation, and user capabilities.
 * Improved sanitization and escaping for admin and network admin settings screens.
 * Updated settings menu slugs to use stable plugin identifiers.
 * Added plugin-specific prefixes to internal globals and helper functions.
 * Removed manual translation loading for WordPress.org translation compatibility.

#### 2.1.2

 * Tested up to WordPress 6.7.2.

#### 2.1.1

 * Fixed a problem that the “include” folder had not been uploaded. If your site
   is not working due to the plugin, please remove the plugin via FTP and reinstall
   it again.
 * Tested up 6.5.2 with PHP 8.3.6

#### 2.1

 * Fixed the problem with a warning message when using WP-CLI.

#### 2.0

 * Supported the multisite.
 * Added the setting menu.
 * Tested up 5.6 with PHP 7.4
 * Tested up 5.8
 * Tested up 6.0

#### 1.0

 * First Released.

## 额外信息

 *  版本 **2.2.0**
 *  最后更新：**3 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/disable-author-archive-redirection/)
   和 [Japanese](https://ja.wordpress.org/plugins/disable-author-archive-redirection/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/disable-author-archive-redirection)
 * 标签
 * [author](https://cn.wordpress.org/plugins/tags/author/)[security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/disable-author-archive-redirection/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/disable-author-archive-redirection/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/disable-author-archive-redirection/reviews/)

## 贡献者

 *   [ kimipooh ](https://profiles.wordpress.org/kimipooh/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/disable-author-archive-redirection/)