Title: SX Disable WordPress XML sitemaps
Author: Daniel Roch
Published: <strong>31. Juli 2020</strong>
Last modified: 24. April 2025

---

Search plugins

![](https://ps.w.org/seomix-disable-core-sitemaps/assets/banner-772x250.jpg?rev=
2349681)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/seomix-disable-core-sitemaps/assets/icon-256x256.png?rev=2349681)

# SX Disable WordPress XML sitemaps

 By [Daniel Roch](https://profiles.wordpress.org/confridin/)

[Download](https://downloads.wordpress.org/plugin/seomix-disable-core-sitemaps.zip)

 * [Details](https://de-ch.wordpress.org/plugins/seomix-disable-core-sitemaps/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/seomix-disable-core-sitemaps/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/seomix-disable-core-sitemaps/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/seomix-disable-core-sitemaps/#developers)

 [Support](https://wordpress.org/support/plugin/seomix-disable-core-sitemaps/)

## Description

WordPress 5.5 add core XML sitemap functionnality, but there is no user interface
to disable it or to mange contents within theses files.

Disable WordPress XML sitemaps simply deactivate all WordPress XML sitemaps and 
redirect them to your home URL, preventing 404 page generation for Google and other
Search Engines.

This SEO enhancement is already included in our [**SEOKEY plugin**](https://wordpress.org/plugins/seo-key/).
Not only do we deactivate WordPress native XML sitemaps (which are not optimized),
but SEOKEY replaces them with much more powerful sitemaps (better crawl, not any
harmful content).

More information here about it : [Core XML Sitemap Guide](https://www.seomix.fr/wordpress-xml-sitemaps/)(
French)

## Installation

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/seomix-disable-core-sitemaps`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Just activate the plugin through the ‚Plugins‘ screen in WordPress.
 3. You’re done

## FAQ

### Installation

Just activate the plugin, and you’re done

### Does it redirect old sitemap URL ?

Yes, it does redirect all sitemap URL to homepage URL (301 redirect). It prevents
bad 404 for Google and other search engines.

### Can I redirect to another URL ?

Yes, you can use a filter for that :

    ```
    apply_filters( 'seomix_core_sitemaps_redirect_target', $home, $current_url );
    ```

$home is the default redirect URL
 $current_url is the current 404 sitemap URL being
processed Exemple usage :

    ```
    add_filter( 'seomix_core_sitemaps_redirect_target', 'seomix_function' );
    function seomix_function( $home, $current_url ) {
        return "https://shiny-new-url.fr";
    }
    ```

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“SX Disable WordPress XML sitemaps” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Daniel Roch ](https://profiles.wordpress.org/confridin/)
 *   [ SEOKEY ](https://profiles.wordpress.org/seokey/)
 *   [ SeoMix ](https://profiles.wordpress.org/seomix/)

“SX Disable WordPress XML sitemaps” has been translated into 6 locales. Thank you
to [the translators](https://translate.wordpress.org/projects/wp-plugins/seomix-disable-core-sitemaps/contributors)
for their contributions.

[Translate “SX Disable WordPress XML sitemaps” into your language.](https://translate.wordpress.org/projects/wp-plugins/seomix-disable-core-sitemaps)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/seomix-disable-core-sitemaps/),
check out the [SVN repository](https://plugins.svn.wordpress.org/seomix-disable-core-sitemaps/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/seomix-disable-core-sitemaps/)
by [RSS](https://plugins.trac.wordpress.org/log/seomix-disable-core-sitemaps/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Last updated **1 Jahr ago**
 *  Active installations **100+**
 *  WordPress version ** 5.5 or higher **
 *  Tested up to **6.8.11**
 *  PHP version ** 5.6 or higher **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/seomix-disable-core-sitemaps/),
   [English (US)](https://wordpress.org/plugins/seomix-disable-core-sitemaps/), 
   [French (France)](https://fr.wordpress.org/plugins/seomix-disable-core-sitemaps/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/seomix-disable-core-sitemaps/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/seomix-disable-core-sitemaps/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/seomix-disable-core-sitemaps/)
   und [Spanish (Venezuela)](https://ve.wordpress.org/plugins/seomix-disable-core-sitemaps/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/seomix-disable-core-sitemaps)
 * Tags
 * [seo](https://de-ch.wordpress.org/plugins/tags/seo/)[sitemap index](https://de-ch.wordpress.org/plugins/tags/sitemap-index/)
   [sitemaps](https://de-ch.wordpress.org/plugins/tags/sitemaps/)[xml](https://de-ch.wordpress.org/plugins/tags/xml/)
   [xml sitemap](https://de-ch.wordpress.org/plugins/tags/xml-sitemap/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/seomix-disable-core-sitemaps/advanced/)

## Ratings

Es wurden noch keine Rezensionen eingereicht.

[Your review](https://wordpress.org/support/plugin/seomix-disable-core-sitemaps/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/seomix-disable-core-sitemaps/reviews/)

## Contributors

 *   [ Daniel Roch ](https://profiles.wordpress.org/confridin/)
 *   [ SEOKEY ](https://profiles.wordpress.org/seokey/)
 *   [ SeoMix ](https://profiles.wordpress.org/seomix/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/seomix-disable-core-sitemaps/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.seomix.fr)