{"id":125781,"date":"2020-07-31T10:14:00","date_gmt":"2020-07-31T10:14:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/seomix-disable-core-sitemaps\/"},"modified":"2025-04-24T15:25:34","modified_gmt":"2025-04-24T15:25:34","slug":"seomix-disable-core-sitemaps","status":"publish","type":"plugin","link":"https:\/\/cor.wordpress.org\/plugins\/seomix-disable-core-sitemaps\/","author":2913778,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"6.8.5","requires":"5.5","requires_php":"5.6","requires_plugins":null,"header_name":"SX Disable WordPress XML sitemaps","header_author":"Daniel Roch - SeoMix","header_description":"Disable core sitemap functionality","assets_banners_color":"86869b","last_updated":"2025-04-24 15:25:34","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.seomix.fr","header_plugin_uri":"https:\/\/www.seomix.fr","header_author_uri":"https:\/\/daniel-roch.fr\/","rating":0,"author_block_rating":0,"active_installs":200,"downloads":3433,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2349681,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2349681,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2349681,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[186,15240,6360,748,6358],"plugin_category":[55],"plugin_contributors":[80158,132453,132454],"plugin_business_model":[],"class_list":["post-125781","plugin","type-plugin","status-publish","hentry","plugin_tags-seo","plugin_tags-sitemap-index","plugin_tags-sitemaps","plugin_tags-xml","plugin_tags-xml-sitemap","plugin_category-seo-and-marketing","plugin_contributors-confridin","plugin_contributors-seokey","plugin_contributors-seomix","plugin_committers-confridin"],"banners":{"banner":"https:\/\/ps.w.org\/seomix-disable-core-sitemaps\/assets\/banner-772x250.jpg?rev=2349681","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/seomix-disable-core-sitemaps\/assets\/icon-128x128.png?rev=2349681","icon_2x":"https:\/\/ps.w.org\/seomix-disable-core-sitemaps\/assets\/icon-256x256.png?rev=2349681","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WordPress 5.5 add core XML sitemap functionnality, but there is no user interface to disable it or to mange contents within theses files.<\/p>\n\n<p>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.<\/p>\n\n<p>This SEO enhancement is already included in our <a href=\"https:\/\/wordpress.org\/plugins\/seo-key\/\"><strong>SEOKEY plugin<\/strong><\/a>. 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).<\/p>\n\n<p>More information here about it : <a href=\"https:\/\/www.seomix.fr\/wordpress-xml-sitemaps\/\">Core XML Sitemap Guide<\/a> (French)<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/seomix-disable-core-sitemaps<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Just activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>You're done<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='installation'><h3>Installation<\/h3><\/dt>\n<dd><p>Just activate the plugin, and you're done<\/p><\/dd>\n<dt id='does%20it%20redirect%20old%20sitemap%20url%20%3F'><h3>Does it redirect old sitemap URL ?<\/h3><\/dt>\n<dd><p>Yes, it does redirect all sitemap URL to homepage URL (301 redirect). It prevents bad 404 for Google and other search engines.<\/p><\/dd>\n<dt id='can%20i%20redirect%20to%20another%20url%20%3F'><h3>Can I redirect to another URL ?<\/h3><\/dt>\n<dd><p>Yes, you can use a filter for that :<\/p>\n\n<pre><code>apply_filters( 'seomix_core_sitemaps_redirect_target', $home, $current_url );\n<\/code><\/pre>\n\n<p>$home is the default redirect URL\n$current_url is the current 404 sitemap URL being processed\nExemple usage :<\/p>\n\n<pre><code>add_filter( 'seomix_core_sitemaps_redirect_target', 'seomix_function' );\nfunction seomix_function( $home, $current_url ) {\n    return \"https:\/\/shiny-new-url.fr\";\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>","raw_excerpt":"Disable and redirect core WordPress XML sitemaps","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/125781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=125781"}],"author":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/confridin"}],"wp:attachment":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=125781"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=125781"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=125781"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=125781"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=125781"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=125781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}