Title: Hide Author Archive
Author: Tarosky Inc.
Published: <strong>22 October 2020</strong>
Last modified: 16 October 2026

---

Search plugins

![](https://ps.w.org/hide-author-archive/assets/banner-772x250.png?rev=3633770)

![](https://ps.w.org/hide-author-archive/assets/icon-256x256.png?rev=3633770)

# Hide Author Archive

 By [Tarosky Inc.](https://profiles.wordpress.org/tarosky/)

[Download](https://downloads.wordpress.org/plugin/hide-author-archive.1.3.0.zip)

 * [Details](https://en-gb.wordpress.org/plugins/hide-author-archive/#description)
 * [Reviews](https://en-gb.wordpress.org/plugins/hide-author-archive/#reviews)
 *  [Installation](https://en-gb.wordpress.org/plugins/hide-author-archive/#installation)
 * [Development](https://en-gb.wordpress.org/plugins/hide-author-archive/#developers)

 [Support](https://wordpress.org/support/plugin/hide-author-archive/)

## Description

This plugin will hide author’s archive.
 If your don’t need author parameter, this
plugin may enhance your site’s security from bot inspection.

 1. No more `?author=1` redirection to `/author/admin`
 2. Ignore query var like `author=1` or `author_name=admin`
 3. Hide user list in REST API from user without permission `list_users` or `edit_others_posts`.
    Single user request like `wp/v2/users/1` is also hidden with the same capabilities,
    except for the user themselves and users who can edit the user. This capability
    is filterable.

    ```
    /**
     * Filter capabilities to see author list and single author.
     *
     * For single user request, $args is an empty array.
     *
     * @param string[]             $caps    List of capabilities.
     * @param array                $args    Arguments for user query.
     * @param WP_REST_Request|null $request Request object.
     */
    add_filter( 'hide_author_archive_rest_query_capability', function( $caps ) {
        $caps[] = 'read';
        return $caps;
    } );
    ```

 1. Remove users sitemap (`/wp-sitemap-users-1.xml`) from core XML sitemaps. Author
    archive URLs reveal `user_nicename`, which is usually derived from login name.

Besides that, this plugin tries to remove author information from meta tags and 
JSON-LD as possible as it can.

 * Override author section in oEmbed.
 * Replace author archive links (e.g. author name link in byline) with the posts
   page, because the link contains `user_nicename`. You can change the URL in Settings
   > Reading.
 * Remove `comment-author-{user_nicename}` class from registered user’s comments.
 * Replace author name in feeds (`<dc:creator>` in RSS, `<author>` in Atom) with
   the site name. Author’s URL is also removed from Atom feed. Display name is the
   same as login name by default, so feeds may reveal it.

Some organization needs to hide author information of each article.

#### Supported Plugins

Yoast

 1. Remove `meta=author`
 2. Override author section in Article scheme in JSON-LD
 3. Hide author section in Slack sharing.
 4. Hide `article:author` in OGP.
 5. Exclude all authors from XML sitemap.

## Installation

Search “hide author archives” in admin screen.
 Altenatively, you can install it
manually like below:

 1. Upload `hide-author-archive` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### There is still author name exposed!

This plugin is for sites that **do not intend** to show author information, but 
WordPress exposes it unintentionally.
 Its scope is machine-readable identifiers
such as `user_nicename` (usually the same as the login name) in URLs, CSS classes,
sitemaps, feeds and REST API, which site owners rarely notice.

The author’s **display name** shown by your theme (e.g. `the_author()` in a byline)
is out of scope, because the theme and the site owner intentionally output it.
 
If your theme shows author names you don’t want, change the theme or set a proper
display name for each user (by default, display name is the same as login name).

Our fundamental goal is covering Core features.
 But feel free to let us know and
request new features.

### How To Contribute

We host plugin on [github](https://github.com/tarosky/hide-author-archive) and any
issues and pull requests are welcomed!

## Reviews

![](https://secure.gravatar.com/avatar/c24266d8792cc6c37c138a9ccfb3d3006a381c77fa9168a1340eb1b50225cc4f?
s=60&d=retro&r=g)

### 󠀁[Works for me, thanks!](https://wordpress.org/support/topic/works-for-me-thanks-3/)󠁿

 [Bradley Allen](https://profiles.wordpress.org/bradley/) 25 February 2021 1 reply

After activating this plugin, the author archive lands on a 404 page. I was looking
for this functionality, because on many websites, there isn't a need for author 
archives. Tested with WordPress 5.6.2

 [ Read all 1 review ](https://wordpress.org/support/plugin/hide-author-archive/reviews/)

## Contributors and Developers

“Hide Author Archive” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Tarosky Inc. ](https://profiles.wordpress.org/tarosky/)
 *   [ Kunoichi INC ](https://profiles.wordpress.org/kuno1/)
 *   [ Fumiki Takahashi ](https://profiles.wordpress.org/takahashi_fumiki/)
 *   [ Arata Takami ](https://profiles.wordpress.org/nevnum/)

“Hide Author Archive” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/hide-author-archive/contributors)
for their contributions.

[Translate “Hide Author Archive” into your language.](https://translate.wordpress.org/projects/wp-plugins/hide-author-archive)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hide-author-archive/),
check out the [SVN repository](https://plugins.svn.wordpress.org/hide-author-archive/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/hide-author-archive/)
by [RSS](https://plugins.trac.wordpress.org/log/hide-author-archive/?limit=100&mode=stop_on_copy&format=rss).

## Change Log

#### 1.3.0

 * **Security**: Remove users sitemap (`/wp-sitemap-users-1.xml`) from core XML 
   sitemaps and exclude all authors from Yoast author sitemap. Author archive URLs
   in sitemaps revealed `user_nicename`, which is usually derived from login name.
 * Replace author archive links (e.g. author name link in byline) with the posts
   page. The URL can be changed in Settings > Reading.
 * Replace author name in feeds (`<dc:creator>` in RSS/RDF, `<author>` in Atom) 
   with the site name, and remove author URL from Atom feed.
 * Remove `comment-author-{user_nicename}` class from registered user’s comments.
 * Fix block editor showing “(No author)” for editors. Single user request in REST
   API now uses the same capabilities as the user list. Props [@ko31](https://github.com/ko31).
 * `hide_author_archive_rest_query_capability` filter is now also applied to single
   user request. In that case, `$args` is an empty array.
 * Bump requirements: WordPress 6.6 or later. Tested up to 7.1.

#### 1.2.1

 * Add some more filters for Yoast and oEmbed(Core).

#### 1.2.0

 * Add override function for Yoast.

#### 1.1.5

 * Hide single REST API for single user get `wp/v2/users/1`.
 * Editor can see REST API users get to change author of posts.

#### 1.1.1

 * Support REST API.
 * Fix coding standards.

#### 1.0.0

 * First release

## Meta

 *  Version **1.3.0**
 *  Last updated **2 days ago**
 *  Active installations **400+**
 *  WordPress version ** 6.6 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/hide-author-archive/), [Japanese](https://ja.wordpress.org/plugins/hide-author-archive/)
   and [Swedish](https://sv.wordpress.org/plugins/hide-author-archive/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/hide-author-archive)
 * Tags
 * [archive](https://en-gb.wordpress.org/plugins/tags/archive/)[author](https://en-gb.wordpress.org/plugins/tags/author/)
   [permalink](https://en-gb.wordpress.org/plugins/tags/permalink/)[url](https://en-gb.wordpress.org/plugins/tags/url/)
 *  [Advanced View](https://en-gb.wordpress.org/plugins/hide-author-archive/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/hide-author-archive/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hide-author-archive/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hide-author-archive/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hide-author-archive/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/hide-author-archive/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/hide-author-archive/reviews/)

## Contributors

 *   [ Tarosky Inc. ](https://profiles.wordpress.org/tarosky/)
 *   [ Kunoichi INC ](https://profiles.wordpress.org/kuno1/)
 *   [ Fumiki Takahashi ](https://profiles.wordpress.org/takahashi_fumiki/)
 *   [ Arata Takami ](https://profiles.wordpress.org/nevnum/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hide-author-archive/)