MainWP Community

Remove Robots Meta Tags in Yoast SEO

Remove robots meta tags in Yoast SEO on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'wpseo_robots', '__return_false' );
add_filter( 'wpseo_googlebot', '__return_false' );
add_filter( 'wpseo_bingbot', '__return_false' );
1 Like

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