• AI Bootcamp
  • Marketingová Plzeň
  • SEO Pivo
  • Contact
  • [email protected]
  • Personal website
[email protected]
Personal website
SEO, AI and Marketing Blog
Martin Bangho
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
Home GEO & SEO
Muž v bílé košili porovnává kartotéku se stromem karet na tabuli.

Sitemaps: how to create, maintain and verify them

Martin Bangho by Martin Bangho
November 24, 2026
in GEO & SEO
Reading Time: 6 mins read
0
0

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.

Further reading

Muž v bílé košili třídí barevné krabičky do přihrádek.

E-commerce SEO: categories, filters and product availability

November 24, 2026
Muž připíná prázdné papírové bubliny na korkovou nástěnku.

Google AI Mode: how it works and what it means for your website

November 24, 2026
Muž v bílé košili drží dvě otevřené složky s barevnými záložkami.

SEO RFP: How to Brief and Compare SEO Suppliers

November 24, 2026
Odhad návratnosti investice do SEO

Estimating the return on investment in SEO

November 24, 2026

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 &amp; 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:

  1. File accessibility: the actual response contains the expected XML, not a login page or an HTML error message with status 200.
  2. Format: a parser can read the document, and its namespace, structure, encoding, escaping and limits are correct.
  3. Listed URLs: checks of responses, redirects, noindex, robots and canonical match the established rules.
  4. 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.

Tags: GuideTechnical SEO
Previous Post

RRF: how Reciprocal Rank Fusion combines search results

Next Post

Semantic HTML: element meaning, accessibility and SEO

Martin Bangho

Martin Bangho

I’m Martin Bangho. I’ve worked in digital marketing and built websites since 2015. These days I help companies with SEO and with getting found in AI search. I question things, and I’m picky about the details, but I’m an optimist. I believe marketing can be honest and still make money for a business. When I’m not working on marketing or running my business, you’ll probably find me at the gym, at a hip-hop gig or out with friends. On this blog I write about questions that come up with clients, what I test myself and what I make of the results. Hermes, my AI assistant, helps me write. I bring the notes, the results and my own take. Hermes helps me structure the article, catch grammar mistakes and get back to the point when I’ve gone off on my third tangent in the middle of a sentence. I review and edit every article myself before it goes out, so it says exactly what I mean.

Related articles

Martin Bangho in a white shirt examines two sheets with blue and grey website layouts using a magnifying glass at a wooden desk.
GEO & SEO

Buying a website: how much of its organic traffic is valuable to you?

November 25, 2026
Martin Bangho compares blue and sand-coloured folding-chair models with their matching photo cards.
GEO & SEO

Visual discoverability: connecting images to the right product and location

November 25, 2026
Jak vybrat copywritera?
GEO & SEO

How to Choose a Copywriter

November 24, 2026
SEO GAP Analýza
GEO & SEO

SEO GAP Analysis

November 24, 2026
Next Post
Muž v modré košili porovnává pevnou destičku a funkční dřevěná dvířka.

Semantic HTML: element meaning, accessibility and SEO

Odebírat
Upozornit na
0 Komentáře
Nejstarší
Nejnovější Nejlépe hodnocené

Martin Bangho

SEO Consultant & AI Strategist

I use data to build marketing plans with people across a business, from sales and development to content. The aim is to strengthen the brand and help it compete.

Tags

Analysis B2B B2C Brand E-commerce Event reports Google Guide Hermes Off-page SEO On-page SEO SaaS Technical SEO Theory Tools User Experience Websites

Latest posts

  • Buying a website: how much of its organic traffic is valuable to you?
  • Visual discoverability: connecting images to the right product and location
  • How to Choose a Copywriter
  • SEO GAP Analysis
  • How to Create a Content Calendar
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN

© 2025 Martin Bangho – SEO Consultant & AI Strategist

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
[email protected]

© 2025 Martin Bangho – SEO Consultant & AI Strategist

This website uses cookies. By continuing to use it, you agree to their use. Read our privacy and cookie policy (in Czech).