How to Fix Sitemap Not Found Error in the Yoast SEO Plugin

You may have come across a “404 not found error” in the sitemap after updating the Yoast SEO plugin. In this post, I will show you how to fix this error so your sitemap can be found and indexed by Google and other search engines.

Yoast SEO Sitemap 404 Not Found Error

Once you update the Yoast SEO WordPress plugin from the plugins menu and visit the sitemap_index.xml file you may see this 404 not found error.

screenshot showing a 404 not found error of the sitemap after updating the yoast seo plugin

I don’t know exactly why it happens after the update.  But it made my sitemap unavailable for a couple of times. Sometimes I wouldn’t even notice until I saw the error in my Google Search Console. So how to fix this sitemap not found error? – well, the process was easier than I thought.

How to fix 404 Sitemap Not Found Error in the Yoast SEO Plugin

I don’t if anyone else is having this issue. But these tricks worked for me.

1. Go to the Plugins menu from your WordPress admin dashboard. Deactivate Yoast SEO.

screenshot showing how to deactivate the yoast seo plugin in wordpress

2. Visit your sitemap and the error should be gone now.

screenshot showing the yoast seo sitemap_index.xml file

Usually, it’s located at But you can just enter and Yoast SEO will automatically redirect you to the sitemap_index.xml file.


Leave a Comment