I uploaded a G sitemap a long time ago and deleted it from G webmaster tools a few months ago. I resubmitted it using the Point2 verification code and today in the webmaster tools I see this error: "Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap."

Any ideas on how to fix this?

Dani AI

Generated

A few focused checks that often find the real cause (beyond simply regenerating the file): verify the sitemap URL returns a 200 and the response is the sitemap XML (not an HTML login/redirect or an empty file); confirm the Content-Type and any compression headers are correct; make sure the XML is well-formed and uses the sitemaps.org namespace; ensure each <loc> is an absolute URL; check that the sitemap is submitted to the matching Search Console property (protocol and hostname must match); and confirm the sitemap does not exceed the 50,000 URL / 50 MB (uncompressed) limits. These items will catch issues that make Google report “no URLs” even when a file exists on the server.

Quick tests to run from a shell (replace the URL):

curl -I -L https://example.com/sitemap.xml
curl -s https://example.com/sitemap.xml | xmllint --noout -
curl -s https://example.com/sitemap.xml.gz | gunzip -c | xmllint --noout -

If local validation passes but Search Console still shows the error, check server logs for Googlebot fetches (response codes and bytes served) and re-submit the sitemap under the exact verified property. Clarify what you mean by the “Point2 verification code” so others can rule out a property/verification mismatch (as asked). If posting the sitemap URL is possible (as requested), it will make remote diagnosis easier; otherwise follow the checks above and consult the official specs: Sitemaps protocol and Google Search Central — Sitemaps.

Recommended Answers

All 3 Replies

What is a Point2 verification code? Unfortunately I'm not so sure I can help you further without seeing your sitemap. Sometimes if you have a LOT of URLs in your sitemap, your server will timeout when googlebot tries to read it, and it will result in saying it does not contain any URLs.

please send us the url of your website so that we can review the sitemap..

if you are using a software ...then i would suggest you to increase the memory used for the sitemap and also increase the time duration for that.

Are you able to see the url through the sitemap? Try to regenerate it using sitemap tools that follow Google sitemap protocol and submit it again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.