Title: sitemap 404 errors
Last modified: August 22, 2016

---

# sitemap 404 errors

 *  Resolved [pjc123](https://wordpress.org/support/users/pjc123/)
 * (@pjc123)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sitemap-404-errors/)
 * I am getting a large amount of 404 errors in the Itheme Security logs for the
   following files; as many as 10 or 20 a day. This started happening on 11-07-2014:
 * sitemap_index.xml
 * post-sitemap.xml
 * I see that this may be related to the fact that SEO by Yoast generates these 
   files on the fly. I also see that a fix is to add an exception to the Browser
   Cache section of W3 Total Cache. However an exception already exist (I did not
   add it….I guess Yoast or Ithemes added it), but it is not preventing the 404 
   errors. Here is that exception:
 * [a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
 * Is there a fix to this?
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [pjc123](https://wordpress.org/support/users/pjc123/)
 * (@pjc123)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sitemap-404-errors/#post-5524410)
 * Came across this during an Internet search:
 * [http://kb.yoast.com/article/77-my-sitemap-index-is-giving-a-404-error-what-should-i-do](http://kb.yoast.com/article/77-my-sitemap-index-is-giving-a-404-error-what-should-i-do)
 * The following fixed the problem:
 * “Sometimes resetting the permalink structure will quickly solve a 404 error from
   a recent change to your installation. Go to Admin > Settings > Permalinks and
   click save without altering anything.”
 *  [platschi](https://wordpress.org/support/users/platschi/)
 * (@platschi)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sitemap-404-errors/#post-5524445)
 * +1 for your fix! Thanks a lot!
 *  Thread Starter [pjc123](https://wordpress.org/support/users/pjc123/)
 * (@pjc123)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sitemap-404-errors/#post-5524446)
 * I figured I couldn’t be the only one!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘sitemap 404 errors’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [pjc123](https://wordpress.org/support/users/pjc123/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/sitemap-404-errors/#post-5524446)
 * Status: resolved