Since WordPress 5.5, core ships built-in XML sitemaps. That can overlap with SEO plugins that already generate sitemaps, or add work you do not need.
When to disable
- An SEO plugin already manages sitemaps (Yoast, Rank Math, All in One SEO, and similar).
- You want one sitemap source only.
- You prefer an external sitemap workflow.
Disable with Security Ninja Pro
- Go to Security Ninja → Fixes.
- Enable the option to disable WP sitemaps.
- Confirm
https://yoursite.com/wp-sitemap.xmlno longer serves the core sitemap.
Manual method
Add this to a child theme functions.php or a small custom plugin:
add_filter( 'wp_sitemaps_enabled', '__return_false' );
Related: Fixes overview.
