Disable Sitemaps XML feature in WordPress 5.5

As once of the core feature of WordPress 5.5 is the auto sitemaps XML, but if you already have SEO plugins installed, this may cause duplication or conflict with sitemaps that is generated from the SEO plugins. Therefore, is better to disable the sitemaps feature in WordPress 5.5

As once of the core feature of WordPress 5.5 is the auto sitemaps XML, but if you already have SEO plugins installed, this may cause duplication or conflict with sitemaps that is generated from the SEO plugins. Therefore, is better to disable the sitemaps feature in WordPress 5.5

All you need is just add this line of code snippet in the child theme or plugin Code Snippets

add_filter( 'wp_sitemaps_enabled', '__return_false' );

Photo by Mick Haupt on Unsplash

Author

Julian Song

Principal Digital Architect focused on high-performance infrastructure and enterprise-grade WordPress systems in Malaysia.

With a career spanning back to 2008, I specialise in building digital platforms that prioritise stability, security, and long-term scalability. As a Neurodivergent System Thinker, I naturally look beyond surface-level design to optimise the complex logic and architecture underneath. I use this perspective to help large organisations and GLCs move away from restrictive proprietary systems toward reliable, open-standard solutions that offer true data ownership and efficiency.

Share this post