SEO Skill
Written by AI and Ian Nuttall

Ian Nuttall

More than 20 years in SEO. Founder of Practical Programmatic, a programmatic SEO course with over 1,000 students, and of URL Monitor, sold for $250,000.

AI writes these pages. I plan each one, gather the data from real sources and review the draft before it goes live.

See my background

Sitemap could not be read

Search Console shows this when Google could not fetch or parse a sitemap you submitted. The fix is almost always in what your server sends for that one file. Check it the way Googlebot gets it.

Give this prompt to Claude Code

Set up SEO Skill in Claude Code so you can work on my site's SEO with my own Search Console data. Do every step yourself and only stop when you need me.

Claude Code installs the CLI, adds the hosted MCP server, waits while you sign in with Google and checks it connects. New accounts get $1 of free research once a Search Console site is connected, with no card.

Claude Code setup guide

What does a readable sitemap look like?

It is a file Google can find, fetch without a redirect or a block, and parse as valid XML with full URLs. A failure at any step shows as could not be read.

seoskill.dev's sitemap, step by step

  1. 200

    seoskill.dev/robots.txt

    Names the sitemap on a Sitemap: line, so Google and SEO Skill know where it is.

  2. 200

    seoskill.dev/sitemap.xml

    Answers 200 with Content-Type application/xml, straight away, with no redirect or sign-in.

  3. Valid

    237 page URLs

    Each one a full https:// URL on the same domain, in valid XML.

What the server sends

Readable

GET /sitemap.xml HTTP/2 200 content-type: application/xml <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

What seoskill.dev sends. Google can fetch and parse it.

Could not be read

GET /sitemap.xml HTTP/2 200 content-type: text/html <!doctype html> <html><body>Page not found</body></html>

A common failure: the app sends its HTML not-found page with a 200 for a file it does not have.

Both answer 200. Only one is a sitemap.

What usually causes it?

One of these, and the first ones are the most common and the quickest to rule out, so work down the list in order.

The URL is wrong or missing

The sitemap moved, or you submitted a URL that returns 404 or an HTML page.

robots.txt or a sign-in blocks it

A Disallow rule, a password or a firewall stops Googlebot fetching the file.

The XML is broken

An unescaped &, a missing closing tag or text before the XML declaration.

The server is slow or blocks bots

A timeout, a 5xx or a bot challenge from a CDN or security plugin.

It redirects

The sitemap URL redirects to another host or to a page that is not the sitemap.

It is too big

Over 50,000 URLs or 50 MB uncompressed in one file. Split it under a sitemap index.

How do you check your sitemap the way Google gets it?

With SEO Skill, which reads your sitemaps from robots.txt, or from /sitemap.xml when robots.txt names none, and says which file it could not read and why.

Connect SEO Skill to your agent, then ask:

Search Console says our sitemap could not be read. Fetch example.com's robots.txt and every sitemap it lists, tell me what each one returns and why Google might fail to read it, then fix it in our codebase.

Or run it in a terminal:

seo index --site example.com

Its summary lists each sitemap it could not read, with the status or error it got. It follows sitemap indexes and reads gzipped files, and it says when it stopped at a file or URL limit, so a short list is never mistaken for the whole site.

To check one file for broken XML, bad URLs, duplicates and size limits, paste it into the free sitemap validator. To see whether robots.txt blocks it, use the robots.txt checker.

What do you do after you fix it?

Resubmit the sitemap, then check that Google can use the pages in it.

Resubmit in Search Console

Open the Sitemaps report and submit the same URL again. The status updates after Google's next fetch.

Check the pages it lists

A readable sitemap full of redirects or noindex pages still sends Google mixed signals.

Page with redirect guide

Questions about sitemap could not be read

These are the follow-ups people ask after they see it in Search Console.

What does "sitemap could not be read" mean?

Google tried to fetch the sitemap you submitted and could not get or parse it. The Sitemaps report also shows this as couldn’t fetch. Google’s help says to check that robots.txt does not block it, that it is valid, and that you submitted the right URL.

My sitemap opens fine in a browser. Why can’t Google read it?

A browser is not Googlebot. A CDN or security rule may block bots, the file may need a cookie your browser has, or the server may send HTML with the wrong content type. Fetch it from outside your network, as a bot would.

Does a sitemap that could not be read stop my site being indexed?

Not on its own. Google also finds pages through links. But the sitemap is how you tell Google which pages you want indexed, so new and deep pages can take longer to be found while it fails.

How long does Search Console take to read a fixed sitemap?

Search Console shows the result of its last fetch. Resubmit the sitemap in the Sitemaps report after you fix it, and the status updates when Google fetches it again.

Where should my sitemap be listed?

Add a Sitemap: line with the full URL to robots.txt, and submit the same URL in Search Console. If you have several sitemaps, list one sitemap index that names them all.

What do the other Search Console reasons mean?

Each guide below explains one reason in the Page indexing report, and how to check every URL it covers.

Check your sitemap with your agent

Add SEO Skill to your agent, sign in with Google and ask whether Google can read every sitemap on your site.

Give this prompt to Claude Code

Set up SEO Skill in Claude Code so you can work on my site's SEO with my own Search Console data. Do every step yourself and only stop when you need me.

Claude Code installs the CLI, adds the hosted MCP server, waits while you sign in with Google and checks it connects. New accounts get $1 of free research once a Search Console site is connected, with no card.

Claude Code setup guide