SEO

Updated November 20, 2023
~ minute read
SEO

Content Key

Share this Post :
Get the most out of your marketing
Join over 100,000 of the most intelligent marketers in the galaxy, and receive marketing news and insights straight to your inbox.
Enter Email to Get Started:
(We will never share your information.)

SEO

to disable the WordPress 5.5 XML Sitemap

Good news or bad news?

WordPress 5.5 automatically creates a new XML websitemap.

If you have an existing solution to your XML sitemap you might now have two!

The Issue

Search engine optimization problems can arise from the difference between the XML sitemap you previously created and the native WordPress sitemap.

Where can I find the new WordPress Native XML Sitemap

You can check for new XML sitemaps if you’re using WordPress 5.5 or later. Add /wp–sitemap.xml after your root domain.

Take, for example:


https://yourdomain.com/wp-sitemap.xml

Use the Yoast Search Engine Plugin

Yoast SEO plugin is already installed. Version 14.5 disables the auto-generated WordPress XML sitemap feature.

Yoast 14.5 and newer will redirect you to the Yoast XML sitemap if you request the native WordPress XML Sitemap.

Use the All in One SEO plugin?

All in One SEO plugin version 3.6.0 (released July 8, 2020) will automatically disable the native WordPress XML sitemap.

To disable the Native XML Sitemap, use a plugin

To remove the native XML sitemap WordPress creates, you can use a plugin such as Disable XML Websitemap.

Deactivate the WordPress Native XML sitemap manually

You can find the related FAQ .

You can disable the sitemap feature by using a filter.


add_filter('wp_sitemaps_enabled', '__return_false');

Similar Questions

You need image, video or Google News Sitemaps

The new native XML sitemap function does not support the addition of image, video, or Google news sitemaps. However, it is likely that this feature will be supported in the future.

Are Search Engines Discouraged?

Site note: If your WordPress admin settings are set “discourage search engine from indexing this website,” (under Settings -> Read), then the native XML sitemap is also disabled. A 404 error will be generated if you request the native XML sitemap (/wp–sitemap.xml), while “discourage Search Engines” is disabled.

What should I do?

If you’re using an existing SEO plugin or sitemap plugin (such a Yoast SEO, All in One SEO), please upgrade to the most current version.

You can disable/deregister native XML sitemaps using filters, or if you don’t want to have one at all.

Questions/Issues?

If you encounter interesting edge cases while updating to WordPress 5.5, let me know.

Disable New WordPress 5.5 XML Sitemap was first published on Vance Bell in Philadelphia, PA.

Leave a Reply

More Great Posts

Advertise with us
Join our advertising network to grow your business. Give us a call at (702) 904-4262
34.99 WordPress Updates | WordPress Support by 702 Pros
Sponsored
Build your Rank Ad 1 - RankLabel
Sponsored
Kyla Sloan | Kyla Estes | Client Management | Reception | Sales
Advertising with Us
Kyla SloanAdvertising Specialist
Our team has the digital and traditional marketing skills to get you in front of customers looking for your product or service.
Want to talk now? Give us a call at (702) 904-4262

Powered by OnSago

Add Your Business To the 702 Pros' Directory
Please add some general information about your business.
Want to talk now? Give us a call at (702) 904-4262

Powered by OnSago

2022 Sale

Get 20% off!

All Web Design Packages
Days
Hours
Minutes
Seconds
Want to talk now? Give us a call at (702) 904-4262

Powered by OnSago