How to Easily Disable the Default WordPress Sitemap

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

The default sitemap feature was introduced in WordPress 5.5, and it enables WordPress to publish XML sitemaps for your website automatically. The challenge is that this feature is lacking advanced WordPress SEO features that you need to rank higher.

In this article, we will show you how to easily disable the WordPress sitemap and improve it with a more powerful solution.

How to Easily Disable the Default WordPress Sitemap

Why Should You Disable WordPress Sitemap

An XML sitemap is a file that lists all your website content in an XML format, which makes it easy for search engines to discover and index your content.

Sitemaps are very beneficial for your website as they bring more traffic and improve the SEO rankings of your site.

However, numerous WordPress SEO plugins like All in One SEO, Yoast SEO, and Google XML Sitemaps already implement sitemaps on your website, which results in WordPress pages having two sets of sitemaps.

Duplicate sitemaps for the same WordPress page can confuse search engines and can drop your SEO rankings.

If you’re not using a SEO plugin for your sitemap, then you’re missing out on advanced features. For example, many popular WordPress SEO plugins offer features like Video Sitemap, News Sitemap, RSS Sitemap, etc that you need to outrank your competitors in SEO.

With that being said, let’s see how you can easily disable the default WordPress sitemap.

Method 1. Disable WordPress Sitemap Using WordPress SEO Plugin

If you’re using any of the popular WordPress SEO plugins, then they will automatically disable the default WordPress sitemap feature and replace it with a more powerful solution.

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

All in One SEO is the best WordPress SEO plugin that allows you to easily optimize your WordPress website for search engines and social media platforms. Over 3 million websites use AIOSEO including our own.

By default, All in One SEO will enable their Sitemap feature for you which automatically replaces the basic WordPress sitemaps upon activation.

The first thing you need to do is install and activate the AIOSEO plugin. For more details, please see our guide on how to install a WordPress plugin.

Once activated, you will need to configure the AIOSEO plugin. If you need help, then you can follow our step-by-step guide on how to set up All in One SEO in WordPress correctly.

After that, head over to the All in One SEO » Sitemaps page from the WordPress admin dashboard to review your sitemap settings.

Next, navigate to the ‘General Sitemap’ tab. Here, make sure that the ‘Enable Sitemap’ switch is set to ‘Active’. This will disable the default WordPress sitemap.

AIOSEO sitemap settings

Aside from the General Sitemap, we recommend that you enable the video sitemap, news sitemap, as well as the RSS sitemap on your site to maximize your SEO rankings.

Method 2. Disable WordPress Sitemap Using Code Snippet

You can also easily disable the default WordPress sitemap using code, too. You can add the code snippet in your theme’s functions.php file.

However, the biggest problem in adding code to your functions.php file is that even a tiny mistake can break your website.

That is why we recommend using WPCode to add custom code to WordPress. This free plugin makes it easy to add code snippets in WordPress without having to edit your theme’s functions.php file.

First, you need to install and activate the free WPCode plugin. For further instructions, check out our guide on how to install a WordPress plugin.

Next, go to the new Code Snippets entry in the left-hand menu of your WordPress dashboard. This will bring you to the ‘All Snippets’ page.

Next, just click on the ‘Add New’ button.

Go to Code Snippets and click on Add New

WPCode will then take you to the ‘Add Snippet’ page where you can choose to add your own custom code or search to find an existing snippet from the WPCode library.

As we have to add custom code, simply hover over ‘Add Your Custom Code (New Snippet)’ option and click ‘Use snippet.’

Click on the Use Snippet button

Now you will be directed to the ‘Create Custom Snippet’ page. You can start by typing a name for your code snippet. It can be anything you like.

Then, select a ‘Code Type’ from the dropdown menu to the right. As we will be using a PHP code, simply click on the ‘PHP Snippet’ option.

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

Next, simply copy and paste the following PHP code snippet in the ‘Code Preview’.

add_filter( 'wp_sitemaps_enabled', '__return_false' );

It will look like this when you’ve done so.

Paste your disable sitemap snippet

After pasting the code, scroll down to the ‘Insertion’ section where you will find two insert methods.

Simply choose the ‘Auto Insert’ option since you want it to run sitewide.

Choose an Insertion mode

Now, go to the top of the page, toggle the switch from ‘Inactive’ to ‘Active’ at the top right corner, and then click the ‘Save Snippet’ button.

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

Save your snippet

We hope this article helped you learn how to disable the default WordPress sitemap. You may also want to check out our ultimate WordPress SEO guide to improve your rankings, and see our comparison of the best managed WordPress hosting.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Easily Disable the Default WordPress Sitemap first appeared on WPBeginner.

How to Add RSS Sitemap in WordPress (The Easy Way)

Are you looking to add a RSS sitemap in WordPress?

RSS sitemap helps Google index your new website content and updates faster. Google recommends using RSS sitemap in combination with XML sitemap for maximum SEO results.

In this article, we will cover how to easily add RSS sitemap in WordPress without any code.

How to Add RSS Sitemap in WordPress

What is RSS Sitemap?

Unlike a traditional XML sitemap which are usually large, RSS sitemap are small because they only contain the most recent updates to your site.

Google crawls RSS sitemaps more frequently which helps your content updates get indexed faster and improves your WordPress SEO rankings.

A good way to think about it is that your XML sitemaps give Google information about all of the posts and pages on your website. Whereas RSS sitemap update Google on the content that has been recently updated.

For optimal crawling, Google recommends using both XML sitemaps and RSS sitemap.

WordPress RSS Sitemap Example - Generated by All in One SEO

Depending on the type of website you have, you may also want to take add a video sitemap and news sitemap alongside the RSS sitemap for maximum SEO benefits.

With that said, let’s take a look at how to add RSS sitemap in WordPress.

How to Add RSS Sitemap in WordPress

The easiest way to add RSS sitemap in WordPress is by using the All in One SEO plugin. It is the best WordPress SEO plugin used by over 3 million websites.

We’re using the premium version of AIOSEO on WPBeginner to improve our SEO rankings, but the RSS sitemap feature is available in the free version as well.

AIOSEO

First thing you need to do is install and activate the All in One SEO plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Once activated, you will be prompted to go through the guided set up wizard. It’s very beginner friendly, and it will help you setup all the right settings.

To enable the RSS sitemap in WordPress, you need to go to AIOSEO » Sitemaps settings page and click on the RSS Sitemap tab.

Simply toggle the enable Sitemap option, and that’s it.

WordPress RSS Sitemap Setting in AIOSEO

You have successfully added RSS sitemap in WordPress. You can click on the Open RSS Sitemap button to see how your RSS sitemap looks.

Alternatively, you can also go to the following link:

https://yoursite.com/sitemap.rss

Once you have enabled it, you will need to submit the RSS sitemap in Google Search Console.

The process of submitting a RSS sitemap is similar to how you would add any other sitemap. Here’s a detailed tutorial on how to submit your sitemap in Google search console.

Google Search Console RSS Sitemap Read Date
As you can see in the screenshot above, Google reads the RSS sitemap faster than it reads the general XML sitemap.

This is why we strongly recommend enabling this feature to get a competitive SEO advantage.

AIOSEO is a powerful WordPress SEO plugin with all the features that you need to improve your search engine rankings. You can see our ultimate guide on how to properly setup All in One SEO for maximum benefits.

Final Thoughts on WordPress RSS Sitemap

RSS sitemap technology has been around for a long time, but many website owners don’t know how to leverage it. That’s because most website builders and WordPress SEO plugins don’t have this feature.

AIOSEO short for All in One SEO is the most comprehensive SEO toolkit, so it comes built-in with RSS sitemap feature along with dozens of other features.

When we switched WPBeginner from Yoast plugin to AIOSEO plugin, we saw a boost in our SEO rankings and website traffic. We believe a big reason for that is the RSS sitemap feature because it helped our content updates get indexed faster.

In the recent months, Microsoft has launched the IndexNow protocol to further boost SEO speed. Currently that’s only being used by Bing and Yandex, so we’re using both IndexNow and RSS sitemap to speed up our SEO results.

The good news is that AIOSEO was the first WordPress SEO plugin to add IndexNow support as well because they’re staying at the forefront of SEO changes.

We hope this article helped you learn how to add RSS sitemap in WordPress. You may also want to see our ultimate WooCommerce SEO guide to improve your SEO rankings, and our comparison of the best email marketing services to connect with readers after they leave your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Add RSS Sitemap in WordPress (The Easy Way) first appeared on WPBeginner.