NoIndex for archive sub-pages
-
Hi,
today I’ve noticed that the option
If you want to prevent /page/2/ and further of any archive to show up in the search results, set this to “noindex”.
doesn’t exists anymore. You say it right that Google might/will respect the “rel = next/prev” tags, but in my opinion there should be a choice.
For anyone who is reading this, the following code in your functions.php will fix this problem (I don’t call it a bug right now ;))
add_filter("wpseo_robots", function() { if (is_paged()) return "noindex, follow"; });
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘NoIndex for archive sub-pages’ is closed to new replies.