Disable Sitemaps XML feature in WordPress 5.5

Disable all of the sitemaps XML feature in WordPress 5.5 (11th August 2020) on your child site.

Snippet Type

Execute on Child Sites


add_filter( 'wp_sitemaps_enabled', '__return_false' );
1 Like

Thanks I did not know this is coming.

1 Like

WordPress 5.5 release is on track for 11th August. There is no UI for being able to exclude posts from the sitemap, that will be on any existing SEO plugins. But there are filters to be able to exclude by post type.

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

If you are using Yoast SEO or Jetpack plugins then the sitemaps XML feature in WordPress core will be already disabled.

Yoast SEO and Jetpack will start to use the sitemap XML feature in core and build on it once WordPress 5.6 is released.