Skip to main content

Resolving 'Cannot Find sitemap.xml' Issue

· One min read
Haril Song
Owner, Software Engineer at 42dot

I had registered the sitemap.xml for my blog to ensure it gets indexed by Google, but all I was getting was an error message saying 'sitemap not found'. Finally, I managed to resolve it, and I am sharing the method I used.

While this method may not solve every case, it seems worth a try.

Simply run the following command:

curl https://www.google.com/ping\?sitemap\={path to your submitted sitemap}

And then, when you check the search console again...!

sitemap-success Finally resolved after almost a month...😢

The sitemap is finally being recognized.

Hope this helps!

Reference