add_filter("wpseo_robots", function($robots) { if (is_paged()) { return 'noindex,follow'; } else { return $robots; } });

Archives