Epic Creative
LibraryInsightsAbout
Search/
© 2026 Epic Creative
AboutLibraryInsights
Digital & SEO

How to Check if Your XML Sitemap is Working

Check whether your XML sitemap works by testing access, URLs, indexing signals, Search Console status and sitemap updates after important website changes.

19 Aug 20265 min read1,185 words
In this guide
  1. Locate the actual sitemap and identify its format
  2. Validate XML and size constraints without guessing
  3. Sample the URLs rather than trusting the generator
  4. Compare noindex, canonical and sitemap signals
  5. Use Search Console to separate fetch status from page indexing
  6. Review lastmod values and automated updates
  7. Maintain a concise, reproducible sitemap acceptance record
  8. Is the problem an invalid sitemap file or an unindexed page?
  9. XML sitemap: five practical questions

An XML sitemap is a discovery file: it lists URLs a website would like search engines to know about. It is not a command to index those URLs, a replacement for navigable internal links, or a measure of search rankings. To establish that a sitemap is working, examine three separate things: whether the file can be retrieved and parsed, whether its entries represent the current intended pages, and whether the receiving search platform has processed it. The following method applies to ordinary website sitemaps and sitemap indexes, with separate considerations for large or specialist sites. It does not claim that Epic Creative's own sitemap has been inspected.

Illustrative website sitemap structure diagram, used to distinguish a navigation hierarchy from a machine-readable XML sitemap
Website sitemap illustration by Notayyet, 24 December 2025, original Wikimedia Commons file, CC0 1.0; no intentional changes. This is a conceptual site structure, not an XML extract or verification of this website.

Locate the actual sitemap and identify its format

Do not assume that every website uses /sitemap.xml. Modern CMSs may use a sitemap index or generate files under a different name. Check the platform settings, the current robots.txt file and the Search Console Sitemaps report. If the site declares several sitemap locations, record each and identify whether it represents an index or a leaf sitemap. A sitemap index links to other sitemap files; checking that its top-level address opens is not enough when one child is inaccessible.

Open the URL from a normal public session and check the HTTP response, content and final destination. A browser may present XML as a tree or raw text; either can be normal. An HTML login prompt, unrelated homepage, blocked request, or persistent 404 is not a successful XML sitemap fetch. Temporary errors should be repeated sensibly before concluding that the website is broken. Record the exact tested URL, timestamp, response code and any redirect chain.

Validate XML and size constraints without guessing

A conventional XML sitemap contains a urlset element with a loc value for each listed URL, using the supported sitemap namespace. URLs need correct escaping and fully qualified absolute addresses. Google documents a maximum of 50,000 URLs and 50 MB uncompressed per sitemap. Larger sites can split their content and reference several files through a sitemap index; this is a structural choice, not evidence that thousands of pages are all worth indexing.

Use a reputable XML parser or a search-platform error report to identify malformed markup, illegal characters or invalid dates. If a file is compressed, ensure that the downloadable resource is actually valid compressed XML. Do not conflate a browser's display styling with validity: a technically sound XML document can look plain. A successful parser result establishes syntax, but cannot establish the accuracy of a page's canonical or indexing decision.

Sample the URLs rather than trusting the generator

Extract a representative sample of entries from different content types: the homepage, important services, a recent article, a long-lived guide and a page modified after a recent deployment. Open each target as an anonymous visitor and inspect the final HTTP status. Look for redirects, soft 404 pages, expired products, old staging hosts and URLs that require authentication. A sitemap that lists inaccessible material can still be syntactically valid and therefore needs a distinct content audit.

Check the opposite failure as well: newly launched canonical service pages may be absent because a CMS setting excludes a content type or the generator is stuck behind a cache. Compare expected published pages with sitemap entries, taking care not to include deliberately private, noindex or duplicate variants. One missing low-value archive is not the same as a missing primary service page. Log why each sampled URL should or should not appear.

Compare noindex, canonical and sitemap signals

For ordinary search discovery, the sitemap should generally list the preferred canonical URLs that the organisation wants indexed. If an entry has a noindex directive, points to another canonical or permanently redirects, investigate why that conflicting instruction exists. A canonical tag is a signal rather than a guarantee of selection. Robots.txt primarily governs crawler access, which differs from a noindex instruction intended to be read on a crawled page.

Do not remove sitewide exclusions merely to make the sitemap report appear cleaner. For some pages, exclusion is intentional: internal search results, user accounts and duplicate filters may not belong in search. The correct response is to reconcile the file with the site's publication policy and preferred URLs. Keep a record of the responsible CMS field or SEO plugin setting so the problem does not recur when a theme changes.

Use Search Console to separate fetch status from page indexing

Google Search Console's Sitemaps report can show a submitted sitemap's processing status and errors encountered while fetching or parsing it. An owner of the verified property can submit a current sitemap URL there. The report is not a certificate that every listed page has been indexed. Google's Page indexing and URL Inspection tools answer related but different questions about individual pages. Distinguish sitemap processing, discovery, crawling and indexing in every client report.

If the status indicates a fetch error, investigate the precise address, access restrictions, server response and any reported parsing problem before submitting it again. If Google successfully processes the file but important URLs remain excluded, investigate those pages rather than rewriting the sitemap repeatedly. A live URL test can show current technical accessibility without guaranteeing selection for Google's index. Report the evidence and date of each observation.

Review lastmod values and automated updates

The optional lastmod element should reflect a genuinely significant page update, such as a material change to its main content, relevant structured data or page links. Refreshing every date automatically whenever the sitemap is requested weakens the value of that signal. Check how the CMS decides when an article was last modified and whether its publication workflow updates sitemap entries after meaningful changes. Do not invent dates to make old content appear fresh.

After a content migration, plugin replacement or redirect programme, compare the live sitemap with the new canonical URL set. An index may retain old child sitemap links or an edge cache may continue to serve an outdated response. Identify which layer creates the file and which serves it to anonymous visitors. A reliable fix changes the owning component and verifies its public output; manually altering a generated file may be overwritten on the next scheduled update.

Maintain a concise, reproducible sitemap acceptance record

An actionable handover includes the tested sitemap address, a successful fetch and syntax check, the count or scope of entries observed, representative URLs, relevant canonical and noindex checks, the Search Console processing state and remaining page-level issues. State whether the evidence is a direct public test, a CMS configuration observation or a search-platform report. Do not call a complete 404-free URL set 'indexed' unless there is separate indexing evidence for those pages.

Schedule reviews after domain changes, navigation restructures, large content removals and significant new launches. For ordinary maintenance, a lightweight spot-check is often sufficient; high-volume publishers may need automated validation and separate sitemap indexes. The acceptance criterion is accurate, retrievable discovery data maintained with the site, not an indexing promise. Primary sources are Google's sitemap construction requirements, the Search Console Sitemaps report help, and Google's sitemap overview.

Is the problem an invalid sitemap file or an unindexed page?

These are two different diagnostic routes. Choose the route indicated by the actual evidence; successful sitemap processing does not mean every page is in the index.

Five checks that separate file processing from URL indexing
Decision criterionSitemap file processingIndividual URL indexing
Starting evidenceSitemaps report fetch or parsing statusPage indexing or URL Inspection report for exact URL
Typical defectInvalid XML, inaccessible file or incorrect index referenceNoindex, alternate canonical, access issue or content selection
Owning componentSitemap generator, site server or index filePage template, redirects, content and indexability settings
Immediate correctionRepair XML or delivery, then verify retrieval and processingRepair the evidenced URL issue; do not blindly resubmit
What success provesGoogle could process a discovery fileCurrent reported state of that inspected URL, not a ranking guarantee

For file requirements see Source A: Google sitemap construction guidance (global technical requirements). For reported processing state see Source B: Search Console Sitemaps report guidance (verified-property reporting, not indexing confirmation). Where both are healthy but a page is absent from search, continue with page-specific diagnosis rather than claiming a sitemap failure.

XML sitemap: five practical questions

Does a sitemap returning HTTP 200 prove that it works?

No. Confirm that the response contains valid sitemap XML or a valid sitemap index, and then inspect representative child files and URLs. An HTML error page can sometimes return an unhelpful successful status.

Can an XML sitemap guarantee that Google indexes a page?

No. It assists discovery. Google separately decides which accessible URLs to crawl and index. Search Console's Sitemaps report and URL Inspection provide different evidence.

How many URLs can one XML sitemap contain?

Google documents a limit of 50,000 URLs and 50 MB uncompressed per file. Larger inventories should use multiple files, optionally referenced from a sitemap index. Keep those files accurate rather than treating the maximum as a target.

Should lastmod change every time the sitemap is generated?

No. It should represent a significant change to that page, not merely the moment when a generator runs. Check the CMS mapping and avoid automatically replacing meaningful dates with today's date.

What should I do when the sitemap is valid but an important page is not indexed?

Inspect the exact URL's access, noindex, canonical signals and content through the appropriate indexing tools. Fix a demonstrated page problem rather than repeatedly resubmitting an unchanged valid sitemap.

PreviousHow to Check Website Domain AuthorityNextChoosing the Right Keywords for a Page

More from Digital & SEO

View all →
3 min read

How to Prioritise SEO Content Refreshes for Small Business Sites

8 min read

How Small SEO Agencies Can Triage Technical Audit Findings

8 min read

A Practical Keyword Mapping Review for Small SEO Agencies

7 min read

A Practical Local SEO Client Intake Process for Small Agencies