Set Noindex, Follow Tag – Subpages of Archives | Yoast Fix

As a blogger, I am using the “Yoast SEO” plugin for Onpage & Offpage SEO. Suddenly, One day I realized that Subpages of Archives are started to index in Google. It is because Yoast removed the noindex tag for subpages.

I worried about Duplicate content issues due to that. After doing research, I found that this is the Yoast SEO plugin issue.

noindex tag pagination pages

If you want to set Noindex, Follow tag to subpages of archives then make use of this article.

SEO is changing every day. Do you know? using the modified date instead of the published date will improve your website ranking.

Guide to Set Noindex, Follow Tag – Subpages of Archives | Yoast SEO Fix

There are two methods available to do this. Those are,

  • Via Functions.php
  • Via WordPress Plugin

I suggest you use the WordPress plugin method because when the WordPress theme updates there may be a chance of removal so use the plugin.

pagination pages example
Thanks to

Read Also:- How to Enable Breadcrumbs in Generatepress WordPress Theme

  1. Install the “Code Snippets” WordPress Plugin
  2. Goto Snippets->Add New
  3. Paste the PHP code I have added below
  4. Check ” Only run on site front-end “
  5. Save Changes and Activate

That’s it, guys. You successfully set the Noindex, follow tag to subpages of archives. I thoughts subpages of archives are unnecessary to index in Google.

From the past 2 months, I heard about “Rankmath” Plugin on Facebook. I have planned to test the “Rankmath” Plugin on my new WordPress website.

I need your help guys. If you are using the “Rank Math” plugin then please let me know the advantages over Yoast SEO.


I am not recommending you to set the Noindex tag to subpages of archives. If you want to do that then you can make use of this article. Sharing is caring! so share this article via social networks to help others who are searching for “Yoast SEO Fix”.

Leave a Comment