Crawl discovery issue

How to fix a missing XML sitemap

An XML sitemap gives search engines a list of URLs you want them to discover. It is especially useful for larger, newer or frequently changing sites, but it does not guarantee indexing.

What this issue means

A sitemap is an XML document containing eligible page URLs and optional metadata. A missing, inaccessible or malformed sitemap means crawlers must discover those URLs through links and other signals instead.

Why it matters

  • New, deep or lightly linked pages can take longer to discover.
  • You lose a useful inventory for checking whether important URLs are canonical, indexable and returning successful responses.
  • A sitemap does not make blocked, duplicate or noindex URLs rank; submit only the preferred URLs you want considered.

How to fix it

  1. 1

    Generate the preferred URL list

    Include canonical, indexable URLs that return successful responses. Exclude redirects, error pages, duplicates and URLs you intentionally keep out of search.

  2. 2

    Publish valid XML

    Serve the sitemap at a stable URL such as /sitemap.xml with a successful response, UTF-8 XML and the correct sitemap namespace. Split large files or use a sitemap index when needed.

  3. 3

    Reference and submit it

    Link the sitemap from robots.txt and submit it in Google Search Console or the equivalent webmaster tool. Keep the URL consistent with your preferred HTTPS host.

  4. 4

    Monitor the file

    Recheck after deployments and review reported errors. Keep lastmod values honest and refresh the file when important URLs change.

Check the page, then audit the site

Use the focused checker to inspect one URL, then run a free SeeSpect audit to find related issues across up to five pages. The free plan includes two scans a day and no credit card is required.

Frequently asked questions

Is an XML sitemap required for every website?

No. Small, well-linked sites can often be discovered without one. A sitemap is still a useful discovery and monitoring signal, especially for larger, newer or frequently updated sites.

Can a sitemap fix indexing problems?

No. It helps search engines discover URLs, but each URL still needs to be accessible, indexable, useful and consistent with your canonical and internal-link signals.