Do you wish to disable the default WordPress sitemap in your web site?
The default sitemap function was launched in WordPress 5.5, and it allows WordPress to publish XML sitemaps in your web site robotically. The problem is that this function is missing superior WordPress website positioning options that you’ll want to rank greater.
On this article, we are going to present you the best way to simply disable the WordPress sitemap and enhance it with a extra highly effective answer.
Why Ought to You Disable WordPress Sitemap
An XML sitemap is a file that lists all of your web site content material in an XML format, which makes it straightforward for search engines like google and yahoo to find and index your content material.
Sitemaps are very helpful in your web site as they bring about extra visitors and enhance the website positioning rankings of your website.
Nonetheless, quite a few WordPress website positioning plugins like All in One website positioning, Yoast website positioning, and Google XML Sitemaps already implement sitemaps in your web site, which ends up in WordPress pages having two units of sitemaps.
Duplicate sitemaps for a similar WordPress web page can confuse search engines like google and yahoo and might drop your website positioning rankings.
In the event you’re not utilizing a website positioning plugin in your sitemap, then you definitely’re lacking out on superior options. For instance, many in style WordPress website positioning plugins supply options like Video Sitemap, Information Sitemap, RSS Sitemap, and many others that you’ll want to outrank your rivals in website positioning.
With that being mentioned, let’s see how one can simply disable the default WordPress sitemap.
Technique 1. Disable WordPress Sitemap Utilizing WordPress website positioning Plugin
In the event you’re utilizing any of the favored WordPress website positioning plugins, then they may robotically disable the default WordPress sitemap function and change it with a extra highly effective answer.
For the sake of this tutorial, we can be demonstrating AIOSEO plugin as a result of that’s the plugin we use on WPBeginner.
All in One website positioning is the most effective WordPress website positioning plugin that means that you can simply optimize your WordPress web site for search engines like google and yahoo and social media platforms. Over 3 million web sites use AIOSEO together with our personal.
By default, All in One website positioning will allow their Sitemap function for you which ones robotically replaces the essential WordPress sitemaps upon activation.
The very first thing you’ll want to do is set up and activate the AIOSEO plugin. For extra particulars, please see our information on the best way to set up a WordPress plugin.
As soon as activated, you will want to configure the AIOSEO plugin. In the event you need assistance, then you’ll be able to comply with our step-by-step information on the best way to arrange All in One website positioning in WordPress accurately.
After that, head over to the All in One website positioning » Sitemaps web page from the WordPress admin dashboard to overview your sitemap settings.
Subsequent, navigate to the ‘Common Sitemap’ tab. Right here, ensure that the ‘Allow Sitemap’ change is ready to ‘Lively’. This may disable the default WordPress sitemap.
Except for the Common Sitemap, we suggest that you simply allow the video sitemap, information sitemap, in addition to the RSS sitemap in your website to maximise your website positioning rankings.
Technique 2. Disable WordPress Sitemap Utilizing Code Snippet
You may also simply disable the default WordPress sitemap utilizing code, too. You may add the code snippet in your theme’s features.php file.
Nonetheless, the largest downside in including code to your features.php file is that even a tiny mistake can break your web site.
That’s the reason we suggest utilizing WPCode so as to add customized code to WordPress. This free plugin makes it straightforward so as to add code snippets in WordPress with out having to edit your theme’s features.php file.
First, you’ll want to set up and activate the free WPCode plugin. For additional directions, try our information on the best way to set up a WordPress plugin.
Subsequent, go to the brand new Code Snippets entry within the left-hand menu of your WordPress dashboard. This may deliver you to the ‘All Snippets’ web page.
Subsequent, simply click on on the ‘Add New’ button.
WPCode will then take you to the ‘Add Snippet’ web page the place you’ll be able to select so as to add your personal customized code or search to seek out an current snippet from the WPCode library.
As we’ve so as to add customized code, merely hover over ‘Add Your Customized Code (New Snippet)’ choice and click on ‘Use snippet.’
Now you can be directed to the ‘Create Customized Snippet’ web page. You can begin by typing a reputation in your code snippet. It may be something you want.
Then, choose a ‘Code Sort’ from the dropdown menu to the appropriate. As we can be utilizing a PHP code, merely click on on the ‘PHP Snippet’ choice.
Subsequent, merely copy and paste the next PHP code snippet within the ‘Code Preview’.
It can seem like this if you’ve performed so.
After pasting the code, scroll all the way down to the ‘Insertion’ part the place you will see two insert strategies.
Merely select the ‘Auto Insert’ choice because you need it to run sitewide.
Now, go to the highest of the web page, toggle the change from ‘Inactive’ to ‘Lively’ on the high proper nook, after which click on the ‘Save Snippet’ button.
As soon as, you might have saved and activated the code snippet, it is going to be lively and the default WordPress sitemap disabled.
We hope this text helped you discover ways to disable the default WordPress sitemap. You may additionally wish to try our final WordPress website positioning information to enhance your rankings, and see our comparability of the most effective managed WordPress internet hosting.
In the event you favored this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You may also discover us on Twitter and Fb.
The submit Easy methods to Simply Disable the Default WordPress Sitemap first appeared on WPBeginner.
Subscribe to MarketingSolution.
Receive web development discounts & web design tutorials.
Now! Lets GROW Together!