[Help]Sitemap problem

adiseshu

Senior Member
Joined
Jun 5, 2008
Messages
927
Reaction score
169
Initially my site have this problem in search console 'Indexed, though blocked by robots.txt'. I have validated robots.txt in SC again.

Next day, Google SC indicated error in sitemap. When i submitted manually, it is showing error of ' sitemap empty'.

I manually checked sitemap link generated by yoast. I can see all posts and pages in my sitemap url. But Google search console showing empty sitemap. Please help?
 
Initially my site have this problem in search console 'Indexed, though blocked by robots.txt'. I have validated robots.txt in SC again.

Next day, Google SC indicated error in sitemap. When i submitted manually, it is showing error of ' sitemap empty'.

I manually checked sitemap link generated by yoast. I can see all posts and pages in my sitemap url. But Google search console showing empty sitemap. Please help?

Try validating it here and see if you get any errors :

Code:
https://www.xml-sitemaps.com/validate-xml-sitemap.html
 
if OP's advice still gives you error. Try generating a new sitemap file, through the same site given above ^
double-check your robots.txt file and review the declared directives in there. Cheers!
 
Like the above users said, validate it. I had the same issue when I had a syntax issue in my XML.
 
Try validating it here and see if you get any errors :

Code:
https://www.xml-sitemaps.com/validate-xml-sitemap.html

Checked in above url.
No issues detected.
Whats next?
 
try deactivating and regenerating sitemap as someone mentioned above
i know this worked for me on several ocassions
 
Back
Top