Thanks, however I did try this when I first had the problem but it didn’t make any difference.
Today I have install a new wordpress website version 3.71 with Yoast SEO as the only plugin and I still got a 404 error for the sitemap. I put the code below in my Htaccess file before the wordpress rules as recommended by Yoast and now I get a blank white screen. I cannot get this to work on any of my sites since WordPress 3.71 – does anyone know what is causing this issue?
# WordPress SEO – XML Sitemap Rewrite Fix
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
# END WordPress SEO – XML Sitemap Rewrite Fix
I have found a series of events which fixes my problem:
1. Add Sitemap Rewrite Fix rules to very beginning of HTaccess (as above)
This gives me a blank white sitemap page
2. Uncheck enable Sitemap functionality on the Yoast SEO Plugin & Save
3. Check Sitemap functionality & save
I now have my sitemaps back!
I hope this helps
I am having problems as well with my sitemap.
Same here
On Webmaster tools,I get :
Parsing error
We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting.
I have found a series of events which fixes my problem:
1. Add Sitemap Rewrite Fix rules to very beginning of HTaccess (as above)
This gives me a blank white sitemap page
2. Uncheck enable Sitemap functionality on the Yoast SEO Plugin & Save
3. Check Sitemap functionality & save
I now have my sitemaps back!
I hope this helps
This does not work for me either