{"id":53815,"date":"2020-04-14T16:50:44","date_gmt":"2020-04-14T11:20:44","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=53815"},"modified":"2026-11-21T19:07:09","modified_gmt":"2026-11-21T13:37:09","slug":"noindex-archive-subpages-yoast-seo-plugin","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/","title":{"rendered":"How to Noindex Archive Subpages in WordPress (Rank Math and Yoast SEO, 2026)"},"content":{"rendered":"<p>Want to <strong>noindex archive subpages<\/strong>, the \/page\/2\/, \/page\/3\/ pages of your WordPress categories, tags and blog index, so Google doesn&#8217;t fill its index with thin lists of posts? Yoast SEO removed its built-in option years ago, and Rank Math handles it differently. Here&#8217;s how to do it in both plugins in 2026, with code where needed, and whether you should do it at all.<\/p>\n<p><img decoding=\"async\" class=\"screenshot aligncenter\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/archive-subpages-indexed.png\" alt=\"Noindex archive subpages indexed in Google\" width=\"453\" height=\"357\" \/><\/p>\n<p><strong>Quick answer:<\/strong> In <strong>Rank Math<\/strong>, go to <strong>Titles &amp; Meta \u2192 Misc. Pages<\/strong> and turn on the noindex option for paginated pages. In <strong>Yoast SEO<\/strong>, there&#8217;s no setting, so add a small <code>wpseo_robots<\/code> filter to your theme&#8217;s functions.php (code below). Before you do, read the section on whether it&#8217;s a good idea.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_91 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6b116f033c293\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6b116f033c293\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#What_are_archive_subpages\" >What are archive subpages?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Should_you_noindex_paginated_archive_pages\" >Should you noindex paginated archive pages?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#How_to_noindex_archive_subpages_in_Rank_Math\" >How to noindex archive subpages in Rank Math<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#How_to_noindex_archive_subpages_in_Yoast_SEO\" >How to noindex archive subpages in Yoast SEO<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Option_1_noindex_all_paginated_pages\" >Option 1: noindex all paginated pages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Option_2_noindex_only_category_and_tag_subpages\" >Option 2: noindex only category and tag subpages<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Check_its_working\" >Check it&#8217;s working<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#A_word_of_caution\" >A word of caution<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Frequently_asked_questions\" >Frequently asked questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Will_noindexing_archive_pages_hurt_my_rankings\" >Will noindexing archive pages hurt my rankings?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Should_I_use_noindex_or_a_canonical_tag_for_paginated_pages\" >Should I use noindex or a canonical tag for paginated pages?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/#Should_I_noindex_tag_pages_completely\" >Should I noindex tag pages completely?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_are_archive_subpages\"><\/span>What are archive subpages?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>WordPress splits long lists of posts into pages. Your category, tag, author, date and main blog archives each get extra URLs like <code>\/category\/seo\/page\/2\/<\/code>, <code>\/tag\/google\/page\/7\/<\/code> and <code>\/page\/15\/<\/code>. On a big, old blog these can add up to thousands of URLs that are just lists of excerpts.<\/p>\n<p>When we switched SEO plugins in 2020, our indexed page count suddenly doubled. A <code>site:<\/code> search showed hundreds of tag archive subpages in Google, as in the screenshot above.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Should_you_noindex_paginated_archive_pages\"><\/span>Should you noindex paginated archive pages?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This is genuinely debated, so it&#8217;s worth understanding both sides:<\/p>\n<ul>\n<li><strong>Arguments against (Yoast&#8217;s view):<\/strong> Yoast removed its option because noindexed pages get crawled less over time, and Google may eventually stop following their links. If your older posts are only reachable through deep archive pages, noindexing them can make those posts harder for Google to find. Google also stopped using rel=&#8221;next&#8221;\/&#8221;prev&#8221; pagination tags in 2019 and treats each paginated page as a normal page.<\/li>\n<li><strong>Arguments for:<\/strong> on large sites with many tags, thousands of thin archive subpages can waste crawl budget, compete with real articles in search, and look like low-quality pages. Noindexing them, while keeping <code>follow<\/code>, keeps the index focused on your actual content.<\/li>\n<\/ul>\n<p><strong>Our recommendation:<\/strong> noindex paginated subpages on large sites with lots of tags and categories, but make sure every important post is also reachable through a good <strong>XML sitemap<\/strong> and internal links. Keep page 1 of each archive indexed, and never noindex your actual posts.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_noindex_archive_subpages_in_Rank_Math\"><\/span>How to noindex archive subpages in Rank Math<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>Go to <strong>Rank Math SEO \u2192 Titles &amp; Meta \u2192 Misc. Pages<\/strong>.<\/li>\n<li>Turn on the noindex option for paginated pages. See Rank Math&#8217;s guide on <a href=\"https:\/\/rankmath.com\/kb\/how-to-noindex-paginated-pages\/\" target=\"_blank\" rel=\"noopener\">noindexing paginated pages<\/a>.<\/li>\n<li>Save changes and clear your cache.<\/li>\n<\/ol>\n<p>If you&#8217;d rather control it with code, Rank Math offers a robots filter. Add this to your child theme&#8217;s functions.php or a code snippets plugin:<\/p>\n<pre><code>add_filter( 'rank_math\/frontend\/robots', function( $robots ) {\r\n    if ( is_paged() ) {\r\n        $robots['index']  = 'noindex';\r\n        $robots['follow'] = 'follow';\r\n    }\r\n    return $robots;\r\n} );<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"How_to_noindex_archive_subpages_in_Yoast_SEO\"><\/span>How to noindex archive subpages in Yoast SEO<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/wordpress-seo\/\" target=\"_blank\" rel=\"noopener\">Yoast SEO<\/a> no longer has a setting for this, so use its <code>wpseo_robots<\/code> filter.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Option_1_noindex_all_paginated_pages\"><\/span>Option 1: noindex all paginated pages<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This covers category, tag and other archive subpages, plus \/page\/2\/ onwards of your main blog index:<\/p>\n<pre><code>add_filter( 'wpseo_robots', function( $robots ) {\r\n    if ( is_paged() ) {\r\n        return 'noindex,follow';\r\n    }\r\n    return $robots;\r\n} );<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Option_2_noindex_only_category_and_tag_subpages\"><\/span>Option 2: noindex only category and tag subpages<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This leaves the paginated pages of your main blog index indexable:<\/p>\n<pre><code>add_filter( 'wpseo_robots', function( $robots ) {\r\n    if ( is_paged() &amp;&amp; is_archive() ) {\r\n        return 'noindex,follow';\r\n    }\r\n    return $robots;\r\n} );<\/code><\/pre>\n<p><code>is_paged()<\/code> is true on any page 2 and onwards, and <code>is_archive()<\/code> limits the rule to category, tag, author and date archives.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Check_its_working\"><\/span>Check it&#8217;s working<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>Open any \/page\/2\/ URL on your site, view the page source and look for <code>&lt;meta name=\"robots\" content=\"noindex, follow\"&gt;<\/code>.<\/li>\n<li>Check that page 1 of the same archive does <strong>not<\/strong> have noindex.<\/li>\n<li>In Google Search Console, watch the <strong>Pages<\/strong> report. Over the following weeks, the subpages will move to &#8220;Excluded by &#8216;noindex&#8217; tag&#8221;.<\/li>\n<\/ol>\n<p>If you&#8217;ve deleted pages entirely rather than noindexing them, a <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2014\/11\/http-410-error-pages-htaccess\/\">410 Gone status<\/a> removes them from Google faster.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"A_word_of_caution\"><\/span>A word of caution<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Noindexing can remove thousands of URLs from Google&#8217;s index at once. Test the code on a staging site or check a few pages carefully first, keep a backup of functions.php, and watch your traffic in Search Console for a few weeks afterwards. Our list of <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2023\/01\/free-google-seo-tools\/\">free Google SEO tools<\/a> can help you monitor it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Will_noindexing_archive_pages_hurt_my_rankings\"><\/span>Will noindexing archive pages hurt my rankings?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Not usually, if your posts are in your sitemap and well linked. Problems happen when posts can only be found through deep archive pages.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Should_I_use_noindex_or_a_canonical_tag_for_paginated_pages\"><\/span>Should I use noindex or a canonical tag for paginated pages?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Don&#8217;t point page 2, 3 and so on to page 1 with a canonical tag. Google advises each paginated page to have a self-referencing canonical. Use noindex if you want them out of search.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Should_I_noindex_tag_pages_completely\"><\/span>Should I noindex tag pages completely?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>On many blogs, yes, especially if you have lots of tags with only one or two posts each. Thin tag pages rarely rank and can dilute your site&#8217;s quality.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to noindex archive subpages, the \/page\/2\/, \/page\/3\/ pages of your WordPress categories, tags and blog index, so Google doesn&#8217;t&#8230;<\/p>\n","protected":false},"author":4,"featured_media":54006,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[41],"tags":[49],"class_list":["post-53815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-search-engine-optimization","tag-tutorials"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/53815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=53815"}],"version-history":[{"count":2,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/53815\/revisions"}],"predecessor-version":[{"id":71699,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/53815\/revisions\/71699"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/54006"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=53815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=53815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=53815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}