Exclude the sitemap from being discoverable to robots.txt in Jetpack

Exclude the sitemap from being discoverable to robots.txt in Jetpack on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'jetpack_sitemap_include_in_robotstxt', '__return_false' );

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