An XML sitemap lists a website’s URLs in a standardized file stored at the server’s root. Search engines read this file to discover pages, but including a URL in a sitemap does not mean it has been crawled or indexed. This often-overlooked distinction changes how a sitemap can be used as a diagnostic tool rather than a passive declaration.
Sitemap and URL inspection: distinguishing discovery from indexing
A sitemap acts as a discovery signal sent to crawlers. Google or Bing can find URLs there that no internal links point to. However, submitting a URL via a sitemap does not guarantee that it will be crawled.
URL inspection tools, available in Google Search Console or Bing Webmaster Tools, let you check the actual status of each page. By comparing the list of URLs declared in the sitemap with inspection data, you can identify three categories of problematic pages:
- Pages included in the sitemap but never crawled, often because they are orphan pages (no internal links connect them to the rest of the site) or are blocked by the robots.txt file.
- Pages that have been crawled but excluded from the index because their content is considered duplicate, a redirect is misconfigured, or they have a noindex tag.
- Pages missing from the sitemap that nevertheless appear in the index, discovered through external links or internal linking that the sitemap does not reflect.
Comparing the sitemap with coverage reports is the most direct way to audit a site’s crawl status. Looking at the Wiki Dark sitemap illustrates the idea: it shows the raw list of declared URLs, with no indication of their indexing status.

Orphan pages and XML sitemaps: a common SEO pitfall
An orphan page has no internal links pointing to it. It exists on the server and may appear in the sitemap, but crawlers following links from page to page will never find it that way. The sitemap then becomes its only entry point for search engines.
The problem is that search engines give sitemap URLs lower priority than URLs discovered through internal links. An orphan page listed in the sitemap is therefore less likely to be crawled quickly and less likely to remain indexed over time.
To identify these pages, export the list of sitemap URLs and compare it with a full site crawl performed using a tool such as Screaming Frog or Sitebulb. Any URL included in the sitemap but missing from the internal crawl may be an orphan page. The fix is to add at least one contextual link from an existing page, not simply to keep the URL in the sitemap.
Removing a URL from the sitemap: what it really changes
A common misconception is that removing a URL from the sitemap prevents Google from crawling or indexing it. That is false. Removing a URL from the sitemap is not enough to prevent it from being indexed. If the page is still accessible through internal or external links, Google can find it and continue to index it.
To actually prevent a page from being indexed, you need to use a noindex directive in the meta robots tag or HTTP header. A sitemap does not control access to pages; it only signals that they exist.
This distinction has practical implications during a redesign or content cleanup. Removing outdated URLs from the sitemap without checking whether they are still accessible leaves these ghost pages in the index, sometimes for months.
The lastmod tag and ping endpoint: two often-misunderstood features
The lastmod tag in an XML sitemap indicates the date a page was last modified. Google specifies that this date is meaningful only if it reflects a significant change to the main content, structured data, or links. Changing a footer or copyright notice does not justify updating this date.
When the lastmod tag is reliable, it helps crawlers prioritize recently updated pages. When it is updated routinely without any real changes, search engines eventually ignore this information, eliminating any benefit.
Another technical detail that is often overlooked: Google discontinued the sitemap ping endpoint on June 26, 2023. Requests sent to this old endpoint now return a 404 error. There are still two valid ways to notify Google that a sitemap has been updated: submit it through Google Search Console or declare the sitemap URL in the robots.txt file.
Declaring the sitemap in robots.txt
The syntax is simple: add a line beginning with Sitemap: followed by the full URL of the file at the end of the robots.txt file. This method has the advantage of working with all search engines that support the sitemaps protocol, without requiring an account in each webmaster tool.

HTML sitemap and XML sitemap: two files with different purposes
An HTML sitemap does not replace an XML sitemap for submission to search engines. An HTML sitemap is a standard web page for visitors that groups links to the site’s main sections. It helps people navigate the site, not communicate technically with crawlers.
Google Search Console accepts only XML, RSS, Atom, or plain text formats for sitemap submissions. Submitting the URL of an HTML page as a sitemap has no effect on crawling.
In practice, a small website can do without an HTML sitemap if its structure and main menu already cover all its pages. An XML sitemap, on the other hand, remains useful once a site has more than a few dozen pages or includes sections that are not directly linked from the main navigation.
Using a sitemap as a crawling tool requires active analysis, not just submission. Compare the declared URLs with indexing reports, check the status of each suspicious page using URL inspection, and keep the sitemap consistent with internal linking: this cross-checking is what turns a technical file into a practical diagnostic tool.



