How to Easily Disable the Default WordPress Sitemap

How to Conveniently Disable the Default WordPress Sitemap


Do you want to disable the default WordPress sitemap on your internet site?

The default sitemap attribute was introduced in WordPress 5.5, and it allows WordPress to publish XML sitemaps for your site quickly. The challenge is that this attribute is missing advanced WordPress Search engine optimisation attributes that you will need to rank bigger.

In this short article, we will present you how to effortlessly disable the WordPress sitemap and boost it with a extra powerful alternative.

How to Easily Disable the Default WordPress Sitemap

Why Must You Disable WordPress Sitemap

An XML sitemap is a file that lists all your site written content in an XML format, which will make it quick for look for engines to learn and index your information.

Sitemaps are very advantageous for your site as they deliver additional visitors and boost the Seo rankings of your website.

Nevertheless, quite a few WordPress Web optimization plugins like All in Just one Search engine optimization, Yoast Web optimization, and Google XML Sitemaps currently carry out sitemaps on your web-site, which final results in WordPress webpages possessing two sets of sitemaps.

Copy sitemaps for the similar WordPress webpage can confuse lookup engines and can drop your Web optimization rankings.

If you&#8217re not making use of a Website positioning plugin for your sitemap, then you&#8217re lacking out on highly developed features. For case in point, a lot of preferred WordPress Search engine optimisation plugins offer you features like Video clip Sitemap, News Sitemap, RSS Sitemap, etc that you need to outrank your rivals in Seo.

With that becoming said, allow&#8217s see how you can very easily disable the default WordPress sitemap.

Technique 1. Disable WordPress Sitemap Employing WordPress Web optimization Plugin

If you&#8217re utilizing any of the common WordPress Seo plugins, then they will instantly disable the default WordPress sitemap attribute and swap it with a much more effective resolution.

For the sake of this tutorial, we will be demonstrating AIOSEO plugin simply because that&#8217s the plugin we use on WPBeginner.

All in A single Website positioning is the best WordPress Search engine optimization plugin that enables you to effortlessly improve your WordPress web site for search engines and social media platforms. Over 3 million sites use AIOSEO like our personal.

By default, All in One particular Seo will permit their Sitemap aspect for you which routinely replaces the standard WordPress sitemaps on activation.

The initially thing you require to do is put in and activate the AIOSEO plugin. For far more facts, please see our guide on how to install a WordPress plugin.

Once activated, you will need to have to configure the AIOSEO plugin. If you will need help, then you can stick to our phase-by-action guidebook on how to established up All in Just one Seo in WordPress properly.

Soon after that, head in excess of to the All in One Website positioning » Sitemaps page from the WordPress admin dashboard to assessment your sitemap configurations.

Up coming, navigate to the &#8216Standard Sitemap&#8217 tab. Here, make absolutely sure that the &#8216Allow Sitemap&#8217 change is established to &#8216Active&#8217. This will disable the default WordPress sitemap.

AIOSEO sitemap settings

Apart from the Basic Sitemap, we suggest that you help the movie sitemap, news sitemap, as nicely as the RSS sitemap on your internet site to improve your Search engine optimisation rankings.

System 2. Disable WordPress Sitemap Making use of Code Snippet

You can also quickly disable the default WordPress sitemap employing code, as well. You can include the code snippet in your theme’s functions.php file.

Having said that, the most significant trouble in introducing code to your functions.php file is that even a small oversight can crack your web-site.

That is why we endorse using WPCode to insert customized code to WordPress. This cost-free plugin makes it easy to include code snippets in WordPress without the need of getting to edit your theme’s functions.php file.

1st, you want to install and activate the no cost WPCode plugin. For more recommendations, verify out our information on how to set up a WordPress plugin.

Next, go to the new Code Snippets entry in the remaining-hand menu of your WordPress dashboard. This will provide you to the &#8216All Snippets&#8217 web site.

Upcoming, just click on on the &#8216Add New&#8217 button.

Go to Code Snippets and click on Add New

WPCode will then consider you to the &#8216Include Snippet&#8217 web page exactly where you can pick to incorporate your own custom code or research to locate an present snippet from the WPCode library.

As we have to incorporate tailor made code, basically hover in excess of ‘Add Your Personalized Code (New Snippet)’ option and simply click &#8216Use snippet.&#8217

Click on the Use Snippet button

Now you will be directed to the &#8216Generate Custom Snippet&#8217 webpage. You can commence by typing a name for your code snippet. It can be something you like.

Then, select a &#8216Code Sort&#8217 from the dropdown menu to the right. As we will be making use of a PHP code, simply click on the &#8216PHP Snippet&#8217 selection.

Type a name for your code snippet and choose PHP as code type

Subsequent, simply just copy and paste the next PHP code snippet in the &#8216Code Preview&#8217.

increase_filter( 'wp_sitemaps_enabled', '__return_false' )

It will seem like this when you&#8217ve finished so.

Paste your disable sitemap snippet

Immediately after pasting the code, scroll down to the &#8216Insertion&#8217 section wherever you will locate two insert procedures.

Simply just opt for the &#8216Automobile Insert&#8217 choice because you want it to operate sitewide.

Choose an Insertion mode

Now, go to the leading of the web page, toggle the swap from ‘Inactive’ to ‘Active’ at the leading suitable corner, and then simply click the ‘Save Snippet’ button.

After, you have saved and activated the code snippet, it will be lively and the default WordPress sitemap disabled.

Save your snippet

We hope this article served you learn how to disable the default WordPress sitemap. You may perhaps also want to verify out our top WordPress Seo guideline to increase your rankings, and see our comparison of the greatest managed WordPress web hosting.

If you preferred this short article, then be sure to subscribe to our YouTube Channel for WordPress video clip tutorials. You can also locate us on Twitter and Facebook.

The post How to Effortlessly Disable the Default WordPress Sitemap to start with appeared on WPBeginner.



Leave a Reply

Your email address will not be published. Required fields are marked *