A sitemap is a list of addresses you want to help a search engine discover. For an ordinary XML sitemap, it makes sense to include current canonical pages intended for search, not every URL that has ever been created in the database. A correctly built file helps communicate addresses and check the website. It does not, however, guarantee that Google will crawl, index or rank every page well.
A sitemap complements links; it does not replace navigation
An XML sitemap is a machine-readable file. An HTML sitemap, by contrast, is a page of links for visitors. Both can coexist, but they serve different purposes. Neither excuses missing internal links to a product or guide from relevant parts of the website.
According to Google, a sitemap is particularly helpful for large websites, new websites with few links, and specific content types. On a small, well-linked website, it may not be necessary for page discovery. Having one is not a condition of indexing, and successful retrieval does not confirm indexing.
This distinction matters in diagnostics. When Search Console reports that it has processed the file, you know something about the file. You still need more information about each listed page’s quality, the selected canonical address and its actual appearance in search.
First decide which URLs belong in the list
A generator should not simply list every CMS item. It needs decision rules: which content types are public, which should be indexed and which address you consider primary. In an ordinary, continuously maintained sitemap, therefore, retain accessible canonical URLs and exclude drafts, private pages, removed addresses, redirects and pages with noindex.
As an example, the same guide may be available at a clean address and through a link with a tracking parameter. If both variants genuinely display the same content and you prefer the clean URL, that primary version belongs in the sitemap. A question mark in an address is not, by itself, a reason to exclude it: a parameter may identify distinct content too. The address’s meaning and consistent rules are what matter.
Sitemap inclusion is a weak canonicalisation signal for Google. There is no point in continually using it to promote a different URL from the one indicated by the canonical and internal links. A sitemap also cannot override a noindex directive or nonexistent content. Adding a problematic page to the list again will not fix a theme error.
A minimal XML example and what each field means
The following complete illustrative sitemap contains two fictional addresses on example.com. The dates are examples; on a real website, they must reflect actual changes to the specific pages.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/navody/vyber-filtru/</loc>
<lastmod>2026-11-10</lastmod>
</url>
<url>
<loc>https://example.com/kompatibilita/</loc>
<lastmod>2026-11-12</lastmod>
</url>
</urlset>
The root element urlset and its namespace define the format. Each url entry has its own loc containing a full absolute address, not just a path such as /navody/. lastmod is an optional record of the page’s last modification. Omitting it honestly is better than automatically filling in today’s date inaccurately.
The file must use UTF-8, and values must respect XML escaping. For example, an ampersand between URL parameters is written as & in XML. This is a different layer from percent-encoding characters within the URL itself. Syntactically valid XML does not, however, prove that a listed address exists or belongs in search.
Current Google requirements are summarised in its guide to building and submitting a sitemap, while the format itself is described by the Sitemaps protocol. Do not automatically treat its general and historical sections as current guidance for every search engine; for Google’s behaviour, its own documentation takes precedence.
Splitting files should help maintenance, not force crawling
A single sitemap may contain no more than 50,000 URLs and be no larger than 50 MB uncompressed. The protocol expresses that size as 52,428,800 bytes. Check both limits: a lower address count does not excuse an oversized file, and gzip compression does not remove the uncompressed limit.
For a larger website, create multiple files and connect them with a sitemap index. This contains the addresses of individual sitemaps, not a list of every product and article. Splitting by content type, language or an operationally meaningful group makes it easier to locate errors and assign responsibility. Each component and the index must meet their own limits under the relevant specification.
An ordinary brief does not need an invented number of URLs that is “ideal for Google”. Smaller files may be more practical for a particular system, but simply changing from 50,000 to 30,000 entries does not guarantee faster indexing. Shuffling addresses is not a verified trick either: Google’s documentation explicitly says that URL order in a sitemap does not matter.
Lastmod should describe the content, not when the generator ran
The purpose of lastmod is to communicate the last significant update to that page. Google gives changes to main content, structured data or links as examples; merely changing the copyright year is not a significant update. Google uses the value if it is consistently and verifiably accurate.
Separate three timestamps: when the page changed, when the sitemap was generated and when a crawler fetched it. They may differ. In a sitemap index, any lastmod also refers to the component sitemap file, not to an arbitrary page inside it. If the generator changes every date daily, that does not provide evidence of fresh content.
Google ignores priority and changefreq. They still exist as optional protocol fields; “Google ignores them” is not the same as “XML containing them is invalid”. A high priority is therefore not a way to buy a better ranking for an important page or guarantee more frequent visits.
Submission and verification involve several layers
First establish whether the CMS or SEO plugin already generates a sitemap. In a typical WordPress project, installing another generator is not the first step. Identify the actual output address, who owns its settings, and the content-selection rules. A hard-coded filename is not proof that the file exists on your website.
For a simple website, the site root is a practical location; for subdirectories and multiple hosts, check the scope in the documentation. Crawlers must be able to access the sitemap. You can list its address in robots.txt, for example:
Sitemap: https://example.com/sitemap.xml
Another option is submission through the Sitemaps report in Search Console. This helps monitor retrieval and processing errors. Submission still does not guarantee that Google will fetch the file or use the listed URLs for crawling. Distinguish these checks:
- File accessibility: the actual response contains the expected XML, not a login page or an HTML error message with status 200.
- Format: a parser can read the document, and its namespace, structure, encoding, escaping and limits are correct.
- Listed URLs: checks of responses, redirects, noindex, robots and canonical match the established rules.
- Google processing: Search Console records sitemap retrieval; separately check indexing status and the selected canonical URL for chosen addresses.
For a large website, combine automated checks of the entire inventory with manual review of representative templates and exceptions. A sample alone does not prove every address is correct. After changing the generator, compare the lists too: which pages were added, which disappeared and whether that was intentional. Clean XML that accidentally omits every product is not a good outcome.
Advanced uses need a specific reason and clear limits
In her 2025 article, Eleni Tarantou describes experience with large sitemaps, file splitting and orphan pages. This is useful inspiration for designing checks and experiments. Her website’s results are not the expected growth of yours or a case study of my own.
During a migration, a separate temporary list of old redirected URLs may be useful for diagnostics. Google’s site-move guide describes both the new sitemap and monitoring old and new addresses. This is not an invitation to mix redirects into an ordinary sitemap permanently. Maintain the new canonical URLs as the target inventory; explicitly label and monitor the temporary migration record, then retire it once it has served its purpose.
Similarly, a sitemap may help announce an orphan page, but it does not fix its place in navigation. Use extensions for language versions, images, video or news according to the actual content type and documentation. The existence of a video sitemap alone does not justify promising that a particular AI system will process or cite the video.
A good deliverable is a maintained list with an owner
A practical developer brief should specify the URL source, filtering rules, lastmod provenance, file-splitting method and response to errors. Also establish who will notice if the generator stops updating the list or starts exposing private addresses. Post-deployment verification is worth more than a one-off screenshot of a green status.
Does your sitemap contradict the actual website?
Start by comparing one real sitemap with the website’s content and recording specific discrepancies. If canonicals, indexing rules and the generator disagree, we can prepare a shared repair brief in a consultation. The goal is a trustworthy inventory and accessible content, not a promise that every submitted URL will earn a place in the results. A technical SEO audit describes a combined review of these layers.









