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

---

Søg 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

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

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

 * [Detaljer](https://da.wordpress.org/plugins/hide-author-archive/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/hide-author-archive/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/hide-author-archive/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/hide-author-archive/#developers)

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

## Beskrivelse

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!

## Anmeldelser

![](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. februar, 2021 1 svar

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

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/hide-author-archive/reviews/)

## Bidragsydere & udviklere

“Hide Author Archive” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ 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” er blevet oversat til 2 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/hide-author-archive/contributors)
for deres bidrag.

[Oversæt “Hide Author Archive” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/hide-author-archive)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/hide-author-archive/),
tjek [SVN repository](https://plugins.svn.wordpress.org/hide-author-archive/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/hide-author-archive/)
via [RSS](https://plugins.trac.wordpress.org/log/hide-author-archive/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **1 måned siden**
 *  Aktive installationer **600+**
 *  WordPress-version ** 6.6 eller højere **
 *  Testet op til **7.1.4**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/hide-author-archive/), [Japanese](https://ja.wordpress.org/plugins/hide-author-archive/)
   og [Swedish](https://sv.wordpress.org/plugins/hide-author-archive/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/hide-author-archive)
 * Tags
 * [archive](https://da.wordpress.org/plugins/tags/archive/)[author](https://da.wordpress.org/plugins/tags/author/)
   [permalink](https://da.wordpress.org/plugins/tags/permalink/)[url](https://da.wordpress.org/plugins/tags/url/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/hide-author-archive/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/hide-author-archive/reviews/)

## Bidragsydere

 *   [ 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

Har du noget at sige? Har du brug for hjælp?

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