How to Disable WordPress Author Archive Pages with Yoast SEO

How to Disable WordPress Author Archive Pages with Yoast SEO

When you want to create a website that is not too focused on blog content, such as a school or company website, you might need to disable the author archive page on your site.

The author archive page can usually be accessed through https://namaweb.site/author/nama_user, if on wpgan.com, then you can see an example of the page here.

This does not only apply to school and company websites. This method can also be used if your website only has one admin or one person publishing articles, so the author page does not feel very important.

How to Disable WordPress Author Archive Pages

To disable the author archive page in WordPress, we use an SEO plugin called Yoast. If you have not installed the Yoast plugin yet, you can download it here: https://wordpress.org/plugins/wordpress-seo/.

Have you downloaded and installed the Yoast plugin? Then we can proceed to disable the author archive page with these few easy steps:

  1. Log in to your admin dashboard and ensure you have access to the Yoast SEO settings. It is recommended to log in directly as the website admin.
  2. Open the menu Yoast SEO > Settings located on the left panel of the WordPress dashboard page
    Cara Mematikan Halaman Arsip Author WordPress - 1
  3. Are you already on the Yoast SEO settings page? Now we need to open the advanced settings or Advanced Settings. Just click the advanced menu and several menus that can be used will automatically appear
    Cara Mematikan Halaman Arsip Author WordPress - 2
  4. Now open the settings menu Author Archives located in the Advanced Settingspanel, and here we can disable the archive page by clicking or turning off the toggle Enable author archives, then save the changes.
    Cara Mematikan Halaman Arsip Author WordPress - 3
  5. Done. Now, when the author archive page is accessed, for example https://namaweb.site/author/nama_user, website visitors will be automatically redirected to our website's main page.

Conclusion

Actually, this method does not disable the author archive page, but it makes the author archive page automatically redirect to the main page.

Besides that, because this method uses the Yoast SEO plugin for configuration, it is highly recommended to use this plugin for SEO optimization on your website. This is because when we use more than one SEO plugin, it sometimes causes conflicts that actually make it difficult for search engines to display our website.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...