MainWP Community

Disable Sitemaps feature in WordPress 5.5

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

Snippet Type

Execute on Child Sites


remove_action( 'init', 'wp_sitemaps_get_server' );
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.