A few days ago I installed WordPress SEO by Yoast on slavi.orbisius.com and noticed that the sitemap.xml (which redirected to /sitemap_index.xml) wasn't generated.

I checked the folder permissions and everything was fine. I am sure Yoast will fix that in a future version.

Some folks had to add some exceptions to their caching plugin. Since I am using WP Fastest Cache I didn't have to do any of that.

Solution

All I had to do is

  1. Go to WP Admin > SEO > XML Sitemap
  2. Deactivate Sitemap by unchecking the checkbox under XML Sitemap
  3. Scroll down and click on Save Changes button
  4. Activate it by checking the checkbox again
  5. Scroll down and click on Save Changes button
How to Activate or Deactivate Sitemap XML in WordPress SEO by Yoast

How to Activate or Deactivate Sitemap XML in WordPress SEO by Yoast

Related

Disclaimer: The content in this post is for educational purposes only. Always remember to take a backup before doing any of the suggested steps just to be on the safe side.
Referral Note: When you purchase through an referral link (if any) on our site, we earn a commission.