Sitemaps: discovery is not indexing

Understand what a sitemap does, check the file and investigate pages that are still missing from search.

A theatre attendant checks a guest list while visitors wait and one guest enters through the doorway.

Somewhere along the way, "submit your sitemap" became the website equivalent of "have you tried turning it off and on again". People do it, wait, and then wonder why half their pages still aren't in Google. The answer is that a sitemap does a different job from the one people expect. It helps search engines find your pages. It doesn't promise to index them, and it doesn't rank them.

What a sitemap is for

A sitemap is a file listing the pages on your site that you want search engines to know about. Google's sitemap documentation says a sitemap helps search engines discover URLs on your site.

Think of it as a guest list: it tells the doorman who's expected.

What it doesn't do

Google is direct about the limits:

  • Its sitemap documentation says a sitemap doesn't guarantee that every item in it will be crawled and indexed.
  • Its crawling and indexing FAQ says a sitemap can help Google learn about your site, but doesn't guarantee indexing or improve your ranking.
  • The same FAQ says Google can't, in general, predict or guarantee when, or whether, URLs will be crawled or indexed.

So a guest list gets your name to the door. It doesn't get you in, and it certainly doesn't get you the best table.

Do you even need one?

Google's documentation says that if your pages are properly linked, Google can usually discover most of your site. By properly linked, it means every page you consider important can be reached through some form of navigation, such as your menu or links on your pages.

It also says that in most cases a site will benefit from having a sitemap, and lists situations where a sitemap helps more:

  • Large sites, where it's harder to make sure every page is linked from at least one other page;
  • New sites with few links from elsewhere, which crawlers may not reach as easily.

Many website builders create a sitemap for you automatically. If yours does, your job is to check it, not to build one.

Check your sitemap works

Find your sitemap through your website platform or its robots.txt file. A common address is yourdomain.com/sitemap.xml, but it may be elsewhere. The first file may be a sitemap index listing other sitemap files; open those child files when checking which pages are listed. Then check:

  • Does it load, rather than showing an error?
  • Does it list your important pages, and not old, deleted or private ones?
  • Do the addresses match the versions you actually use, for example https and www or no www?

In Google Search Console, use the Sitemaps report to check submission status and parsing errors. Use the Page indexing report and URL Inspection for indexing questions. A successful sitemap submission does not mean all its pages are indexed.

When pages still aren't indexed

Once you have checked that Google can fetch and parse the sitemap, investigate the individual page:

  • Can it be reached? Check for access blocks, login requirements or error responses. A temporary failed fetch needs investigation before you change the page.
  • Is it linked from your own site? Give visitors and crawlers a relevant route from an existing page, rather than relying only on the sitemap.
  • Does it carry a noindex instruction? If so, it is asking to stay out. Google must be able to crawl the page to see that instruction; blocking crawling is not the same as removing a page from the index.
  • Which version is being indexed? Inspect the URL and its selected canonical version in Search Console before assuming the content is missing entirely.
  • Is it useful and distinct? Check whether the page answers a real need or duplicates something already available. Avoid adding words just to make it longer.

Keep the evidence

CAFMO checks the sitemap your robots.txt advertises, for the pages you check:

  • whether it loads;
  • whether it has the basic structure of a sitemap, with addresses in it.

It's a limited check, and it says so. It doesn't follow every declaration or open sitemap-index children, and it doesn't fetch the addresses listed. It doesn't establish indexing, page inclusion or citations. No sitemap is mandatory. After you fix a sitemap problem, recheck and the result is saved with its date. See how CAFMO checks work.

Frequently asked questions

I submitted my sitemap. Why aren't my pages in Google?

Google says a sitemap doesn't guarantee indexing. Check the pages themselves: whether they can be reached, whether they're linked, whether they carry noindex, and whether they're useful.

Does a sitemap help my rankings?

Google's FAQ says a sitemap doesn't increase your site's ranking.

Do small sites need a sitemap?

Google says it can usually discover most of a properly linked site without one, and that most sites still benefit from having one. If your builder makes one automatically, keep it and check it works.

Sources and further reading

Create your CAFMO accountSee how CAFMO worksCompare plans