Title: XML Sitemap 404 error
Last modified: August 22, 2016

---

# XML Sitemap 404 error

 *  [davidslocombe7](https://wordpress.org/support/users/davidslocombe7/)
 * (@davidslocombe7)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/)
 * Hello
 * I receive a 404 error when I try and view my sitemap [http://screencast.com/t/LDJw9izjNvdi](http://screencast.com/t/LDJw9izjNvdi)
 * I have activated the plugin and I don’t beleive I have changed any of the settings
   but Google Webmaster tool says it doesn’t see one on this site.
 * I am using RT Theme 15 for the site.
 * What do I need to do to get a sitemap using all in one seo pak that google will
   recognize?
 * Thank you for your support.
 * [https://wordpress.org/plugins/all-in-one-seo-pack/](https://wordpress.org/plugins/all-in-one-seo-pack/)

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

 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5692849)
 * Hi David,
 * To create an XML Sitemap using All in One SEO Pack, first activate the XML Sitemap
   module, next go to the settings for that module and make sure that the filename
   prefix is set to sitemap and you’ve checked the Notify Google and Notify Bing
   boxes. Make sure you’ve selected the checkboxes for the content types you want
   added to your sitemap and finally make sure that Dynamically Generate Sitemap
   is checked. Once you’ve done this click the blue Update Sitemap button. There
   should be a link to view your sitemap.
 *  Thread Starter [davidslocombe7](https://wordpress.org/support/users/davidslocombe7/)
 * (@davidslocombe7)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5692879)
 * Hello
 * So I have done this before but I thought I would follow your instructions just
   to make sure.
 * So I deactivated sitemap module. Then activated the module
 * I followed your instructions [http://screencast.com/t/4siDd9Kk](http://screencast.com/t/4siDd9Kk)
   [http://screencast.com/t/56pQyhWG](http://screencast.com/t/56pQyhWG)
 * I hit update and I still get a 404 error when viewing the sitemap.
 * Again thanks for your support if you could help me check what else I need to 
   do that would be great. 🙂
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5692942)
 * Can you provide a screenshot of your Permalink settings please.
 *  Thread Starter [davidslocombe7](https://wordpress.org/support/users/davidslocombe7/)
 * (@davidslocombe7)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5692956)
 * I have used 2 different settings [http://screencast.com/t/HVf6hW7p1](http://screencast.com/t/HVf6hW7p1)
   and [http://screencast.com/t/LGhbQdDzA1](http://screencast.com/t/LGhbQdDzA1) 
   and both times it came back with a 404 error
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5692960)
 * Can you send me the WordPress admin login via our contact form here please – 
   [http://semperplugins.com/contact/](http://semperplugins.com/contact/). Best 
   guess this is an issue with your htaccess file or a plugin/theme conflict.
 *  Thread Starter [davidslocombe7](https://wordpress.org/support/users/davidslocombe7/)
 * (@davidslocombe7)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5692977)
 * I just filled the contact form and submitted it.
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5692981)
 * Thanks David,
 * It’s working now. It looks like it may be a server issue. I’ll have our Lead 
   Developer check it tomorrow.
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5693073)
 * Hi David,
 * This is fixed. The issue was due to bad code in your theme that flushes rewrite
   rules on the front end of the site in rt-framework/classes/theme.php
 *  `//Flush rewrite rules
    add_action(‘init’, ‘flush_rewrite_rules’);`
 * We’ve fixed this in the child theme, I’d still suggest contacting the theme developer
   about this issue, or using a different theme if you continue to have issues.

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

The topic ‘XML Sitemap 404 error’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

## Tags

 * [xml sitemap error](https://wordpress.org/support/topic-tag/xml-sitemap-error/)

 * 8 replies
 * 2 participants
 * Last reply from: [Steve M](https://wordpress.org/support/users/wpsmort/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-404-error/#post-5693073)
 * Status: not a support question