How to Disable the Default WordPress Sitemap?
Last Updated :
16 Apr, 2025
Creating a custom XML sitemap for your WordPress website can greatly improve your SEO performance, especially when the default WordPress sitemap doesn’t meet your specific needs. Here, We will walk you through how to disable the default WordPress XML sitemap and replace it with a custom one using the Yoast SEO plugin. Let’s see how to do the steps and ensure your website is fully optimized for search engines.
What is an XML sitemap?
An XML sitemap is very useful for SEO, providing search engines with a map of your website's structure and content. This helps search engines crawl and index your site more efficiently, improving your website's visibility in search engine results. It’s an XML file that lists all your website’s pages, making it easy for search engine bots to navigate and understand the relationships between your pages.
People Also View:
Why Disable the Default WordPress Sitemap?
You might want to disable the default WordPress XML sitemap for multiple reasons:
- Advanced SEO Features: Plugins like Yoast SEO or All in One SEO offer more advanced sitemap features, which can help you better control how your website is indexed.
- Customization Needs: You may need more control over which pages are included in your sitemap or how they’re organized.
- Performance Improvements: Some users believe that third-party plugins are better optimized for performance and can reduce server load.
Default XML sitemap of your WordPress:
To view the default XML sitemap of your WordPress website, simply append wp-sitemap.xml
to your domain (e.g., https://yourdomain.com/wp-sitemap.xml
). However, this default sitemap lacks flexibility and advanced features.

This is the default XML sitemap of the WordPress website, but it is not flexible and rich in features.
Let us see how we can create the custom XML sitemap using the SEO plugin.
Creating a Custom XML Sitemap Using Yoast SEO Plugin
To create the XML sitemap using the Yoast SEO plugin, you first have to install the Yoast SEO plugin to your WordPress website. Yoast SEO is the best SEO plugin in the market and is very popular for its features and ease of use.
For setting the site map in the Yoast SEO plugin follow these simple steps.
Step 1: Install Yoast SEO
First, install the Yoast SEO plugin on your WordPress website if you haven’t already.

- Go to the WordPress dashboard.

- Navigate to “SEO” → “General.”

Step 3: Click on the “Features” tab.

Step 4: Enable the “XML Sitemaps” feature.

Now an XML sitemap is getting enabled on your WordPress website.
Step 5: For accessing the sitemap of your WordPress website, type the domain name of your website and then type "sitemap_index.xml" just after the URL of your domain name. The Yoast SEO, an XML sitemap will appear on your screen.
For example: "https://yourwebsite.com/sitemap_index.xml"

This is how you can create and enable an XML sitemap on your WordPress website using the Yoast SEO plugin.
After enabling an XML sitemap using the Yoast SEO plugin it will disable the default sitemap on your WordPress website. To check whether the default sitemap is disabled on your WordPress website, type the domain name and then type "sitemap.xml".
For example: "https://yourwebsite/sitemap.xml"
If the default sitemap is enabled, it will show you the default sitemap on your WordPress website and if it gets disabled on your WordPress website, then it will show the 404 page on your screen.
People also view:
Conclusion
Disabling the default WordPress sitemap can be a straightforward process with the right methods. Remember, it's crucial to have an alternative sitemap solution in place to ensure search engines can efficiently crawl and index your website. By following these steps and best practices, you can keep your website's SEO on track.
Similar Reads
How to Disable Comments in WordPress ?
WordPress is a powerful platform that allows you to create and manage a website with ease. While comments can be a great way to engage with your audience, there are times when you might want to disable them. Whether you're looking to prevent spam, keep your site professional, or simply maintain cont
3 min read
How to Create HTML Sitemap in WordPress ?
Creating an HTML sitemap in WordPress can significantly improve your site's navigation and SEO. HTML sitemaps provide a user-friendly way to list all the pages of your website in a structured manner. This helps visitors find content easily and search engines to crawl your site more efficiently.What
3 min read
How to add a PHP page to WordPress?
Adding a custom PHP page to your WordPress site can be useful for various reasons, such as adding unique functionality or creating custom templates. This article will walk you through the process step by step.1. Create a WordPress Template PageStep 1: Login to Microsoft Web Matrix:Open or create you
2 min read
How to Remove Visual Editor Mode in WordPress ?
The Visual Editor in WordPress provides a WYSIWYG (What You See Is What You Get) interface for creating and editing content. However, some users prefer to work exclusively in the Text (HTML) mode. It makes the editing of the content easy and you can get a real view of the content. It provides the be
2 min read
How to change Logo URL Link for any WordPress themes ?
Changing the logo URL link in WordPress is a common customization many website owners need to make. Whether you're looking to direct visitors to a specific page or another website, adjusting the logo URL link is straightforward. This article will walk you through the steps to change the logo URL lin
4 min read
How to hide top Admin Bar using a WordPress filter ?
Whenever you log in to your WordPress site you notice a toolbar at the top of the page which is know as "Top Admin Bar". This toolbar is always present, whether youâre viewing the site from your dashboard or the front page of your website. This is frustrating for many people, and itâs much more so w
5 min read
7 Best WordPress Map Plugins
Integrating maps into your WordPress site can significantly enhance user experience, making it easier for visitors to find your location or understand geographical data. WordPress map plugins offer a variety of features, from simple map displays to complex, interactive maps. Here are the top 7 WordP
8 min read
How Does Google Map Works?
Google Maps is a unique web-based mapping service brought to you by the tech giant, Google. It offers satellite imagery, aerial photography, street maps, 360° panoramic views of streets, real-time traffic conditions, and route planning for traveling by foot, car, bicycle, or public transportation. A
10 min read
WordPress Delete Links
WordPress is a content management system (CMS) that allows users to create and manage websites with ease. Whether you're a blogger or a developer, knowing how to manage links on your WordPress site is important. In this article, we'll walk you through the process of deleting links in WordPress, maki
3 min read
How to hide admin login link to custom link of WordPress website ?
WordPress security is crucial for website owners. One effective way to enhance security is by customizing the login URL for your WordPress admin panel. In this article, weâll explore how to hide the default login link and replace it with a custom one.In WordPress, the login URL is like this e.g. www
4 min read