Add `noindex` URLs in the sitemap in Rank Math SEO

Add noindex URLs in the sitemap in Rank Math SEO on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'rank_math/sitemap/include_noindex', function( $value, $type ) {
	return true;
}, 10, 2 );
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.