user9480491
user9480491

Reputation:

Google search console fails to fetch sitemaps | "Sitemap could not be read"

I have generated a sitemap from online generators, it seems to be working and even i tested it on old google search console sitemap testor and it works. but when i submit it in both versions it just displays error message.

enter image description here

Upvotes: 25

Views: 32192

Answers (7)

Kevin Danikowski
Kevin Danikowski

Reputation: 5206

Using the Yoast SEO plugin which built out 10 sitemaps, the index got red the first time and only one of the sub-sitemaps did. I manually visited the other sitemaps (likely they took to long to respond I thought) and deleted the sitemap on google search console and re-uploaded. All were read that time.

Upvotes: 0

nixx
nixx

Reputation: 307

Enter the full URL of your sitemap, e.g., https://example.com/sitemap.xml. Also, ensure your sitemap name does not include numbers and symbols.

Upvotes: 0

sizzlecookie
sizzlecookie

Reputation: 298

I had this issue and it was because I didn't set the content-type to application/xml

This sitemap validator notified me of the issue: https://www.xml-sitemaps.com/validate-xml-sitemap.html

Upvotes: 0

Carlos
Carlos

Reputation: 15

I had the same problem and the solution was very simple, just put the full path to your sitemap.

Where the console asks 'add new sitemap', instead of writing /sitemap.xml, write the full path, such as https://example.com/sitemap.xml.

That should fix the problem.

Upvotes: -1

Austin Cunningham
Austin Cunningham

Reputation: 324

This is a known bug. See this Google support answer.

Upvotes: 19

Samuel Dauzon
Samuel Dauzon

Reputation: 11334

In my case, it's the sitemap that had a syntax error. You should open sitemaps in Firefox, it will tell you if you have a syntax error.

Upvotes: 1

rakhavendhar
rakhavendhar

Reputation: 11

Your sitemap domain address might have changed. If it is wordpress use yoast plugin, where search console will automatically consider sitemap.xml

Upvotes: 0

Related Questions