Fixing link rel=”next” in Yoast SEO for paginated links
In the current version of Yoast, this link is rendered by presenters/rel-next-presenter.php, which contains this filter: public function present() { $output = parent::present(); if ( ! empty( $output ) ) { /** * Filter: ‘wpseo_next_rel_link’ – Allow changing link rel output by Yoast SEO. * * @api string $unsigned The full `<link` element. */ return … Read more