Customize the author sitemap

Customize the author sitemap

Our plugin can create a sitemap that lists the author archive pages for sites with multiple authors. If you have a single author, please disable the author archives.

Table of contentsCustomize sitemapExclude individual authors featureExclude authors filter

Customize sitemap

After enabling author archives, you will have some additional options to customize the author sitemap.

Show author archives in search results
Yes. The author sitemap will be created.No. The author sitemap will not be created.
Show archives for authors without posts in search results.
Yes. All authors will be included in the sitemap.No. Only authors with published content will be included in the sitemap.Need to exclude individual authors?
Title & meta description templates
These will be used to generate the title and meta description of the author archive page.

Exclude individual authors feature

Excluding an individual author does not remove the author』s contents from other sitemaps.

After enabling author archives, you can prevent individual users from appearing in the author sitemap. Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『Users』. On the left-hand side, you will see a menu. In that menu, click on 『Users』. Click 『Edit』 for the username of the user you want to exclude. Under 『Yoast SEO Settings』, check the 『Do not allow search engines to show this author』s archives in search results.』 box. Click 『Update User.』

Exclude authors filter

Yoast comes with the following filter:

wpseo_sitemap_exclude_author

This filter can be further used to customize the sitemap to exclude authors. It can be used to bulk exclude authors or exclude authors based on certain conditions. This will likely require some development work. If you are not sure how to use the filter, you may wish to work with a Yoast Partner who can assist.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注