I’m having the same issue π
Something that worked for me was to change a XML sitemap setting then “save changes”. Check to see if your sitemap is working, if it is remember to switch your setting back if it was a change you didn’t actually want to make.
Oh wow, didn’t realize it was so simple – worked for me! thanks
Unfortunately, it is not working for me π
I am having the same issue as well on http://www.seeuncharted.com. Any assistance is appreciated.
I am also running my plugin on Nginx with Pagespeed enabled. Here are my rewrite rules:
#Pagespeed Location Directives
# Don't cache uris containing the following segments
if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|/feed/|/|index.php|sitemap(_index)?.xml") {
set $skip_cache 1;
#Yoast sitemap
location ~ ([^/]*)sitemap(.*)\.x(m|s)l$ {
## this redirects sitemap.xml to /sitemap_index.xml
rewrite ^/sitemap\.xml$ /sitemap_index.xml permanent;
## this makes the XML sitemaps work
rewrite ^/([a-z]+)?-?sitemap\.xsl$ /index.php?xsl=$1 last;
rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
}
Same issue here, sitemap is responding with error messages.
XML-parsefout: XML- of tekstdeclaratie niet aan begin van entiteit
Locatie: http://**************/sitemap_index.xml
Regelnummer 2, kolom 1:
Still not solved this issue with the new update…
Same problem, what i did:
1-Disable sitemap (button save)
2-Enable sitemap (button save)
3-Save permalinks
Now it’s working.
Hi Chillmen,
Did not work for me, still the same issue…
@erik go > to setting > permalinks > save changes.
If not work above than Istall Rollback plugin and rollback yoast seo 2.3.5 go to > sitemap option > enable > save changes than update to latest 3.1.
Thanks
Sitemap in latest update also does not work for me. When I click on “You can find your XML Sitemap here:”, it returns a 404 error. All the solutions in this discussion did not work. I’ll definitely roll back to the previous version until they get the bugs fixed.
Yoast SEO is becoming painful. I rolled back to the previous version, but the 404 error remains. The latest update really screwed up my site.
@thewatcher2 i think u need to clear cache and also check your root directory if other sitemaps are locate than delete it.
@bsal
Thank you for your reply, but that’s also not working.
Still the same error message as before in my comment.
EDIT:
Thinking about it, other websites don’t have this issue but with less data to render. The site on which it’s not working contains 10k + records/links. Can this be an issue for the Yoast SEO Plugin ?