IT Glossary
What is a sitemap?
The file, usually XML, that tells search engines which addresses a website has and when each page last changed.
- 6
- sections
- 6
- questions answered
A sitemap is a file, usually XML and usually at /sitemap.xml, that lists the addresses of the pages you want search engines to find, optionally with the date each one last changed. It helps discovery, but it does not guarantee that pages will be crawled or indexed: Google itself calls submitting a sitemap merely a hint. The crawler reads it, and its address can be declared in the robots.txt file. One detail few guides state: Google ignores the priority and changefreq values and uses lastmod only when it is consistently and verifiably accurate (Google Search Central, checked 18.11.2026).
For a company website, healthy practice has four steps. The sitemap is generated automatically by the CMS or platform at every publish, because a hand-written file is out of date within two weeks. It holds only canonical, indexable addresses, with no redirects, duplicates or blocked pages. It is submitted once in Search Console, from where Google re-reads it by itself. And the report is read: the gap between pages discovered and pages indexed shows whether something is wrong. On large sites a clean sitemap also helps crawl budget get used well; on a small site the diagnostic matters most.
Why it matters for your business
New pages found sooner
A sitemap updated automatically on every publication shows Google the new URLs on its next read, without waiting for it to find them by following links.
The depth of a catalogue gets found
Products and pages without strong internal links still reach the reading list; a complete map beats hopping from one link to the next.
A free diagnostic in Search Console
The Page indexing report, filtered by sitemap, shows how many of the submitted pages are indexed; a wide gap points precisely at where the work is.
What an XML sitemap contains
Each page sits in a url element, and the only required tag is loc, the full absolute address, under 2,048 characters. The file is UTF-8, and special characters are written as entities (for example & becomes &). The lastmod, changefreq and priority tags are optional (sitemaps.org).
Google uses only part of that. It does not use priority or changefreq at all (Google Search Central, 26.06.2023), so there is no point in raising a page's priority. It takes lastmod into account only when it is consistently and verifiably accurate, meaning it marks the last significant change: the main text, structured data or links, not an edit to a footer or sidebar. For pages you cannot date honestly, leave it out. Other search engines may read these tags.
Limits and the sitemap index
A single file can hold at most 50,000 addresses and 50 MB uncompressed (52,428,800 bytes). It may be gzip-compressed, but the limit applies after decompression. Beyond those numbers, the addresses are split across several sitemaps listed in a sitemap index, which can itself list at most 50,000 sitemaps (sitemaps.org).
A sitemap covers only addresses in its own directory and below, on the same host and protocol. When you submit it in Search Console, Google lifts the directory rule. Besides XML, Google accepts RSS 2.0, mRSS, Atom 1.0 and a plain text file (Google Search Central, Build and submit a sitemap).
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
Types of sitemap
There are extensions for images, video and news, which add information about those kinds of content. For multilingual sites, the sitemap can also carry the hreflang alternates of each page.
An HTML sitemap is something else: an ordinary page of links made for visitors. It is optional; the one search engines read is the XML file.
How to submit a sitemap and read its report
There are two ways: the Sitemaps report in Google Search Console, or the line Sitemap: https://example.com/sitemap.xml in robots.txt, at any position. The old ping method no longer works: Google announced on 26.06.2023 that it was ending it, and after six months it stopped responding.
The Sitemaps report shows the file's status (Success, Has errors or Couldn't fetch) and the number of discovered pages, but not how many were indexed. The indexed count is in the Page indexing report, filtered by sitemap (Search Console Help). The gap between the two numbers is a free diagnostic: if many addresses are discovered but not indexed, the content is usually judged thin, there are technical problems, or both, and that is where the serious conversation with whoever runs your site begins.
Frequently asked questions
Does a small website need a sitemap at all?
Not necessarily: Google says a site of about 500 pages or fewer, well linked internally, may not need one. It is still worth having, because the CMS generates it for free and the Search Console report shows whether something is failing to index.
I submitted the sitemap but the pages still do not appear — why?
Because a sitemap only suggests and Google decides. Check each page's status in Search Console: Discovered – currently not indexed means Google found the URL but has not crawled it yet; Crawled – currently not indexed means it read the page and chose not to index it, often for thin content. A page blocked by robots.txt needs a technical fix.
Which pages should stay out of the sitemap?
Everything you do not want indexed or that cannot be: pages with noindex, redirects, non-canonical duplicates, cart, account and internal search pages, and pages blocked in robots.txt. The short rule is that the file holds exactly the pages you would want in results, none beyond.
Do priority and update frequency in a sitemap matter?
Not to Google, which ignores priority and changefreq. The lastmod date counts only when it is consistently and verifiably accurate, meaning it marks the page's last significant change. Other search engines may read the tags, but do not rely on them.
How many addresses can a sitemap hold?
At most 50,000 addresses and 50 MB uncompressed per file. If you have more, split them across several sitemaps and list those in a sitemap index, which can itself hold up to 50,000 sitemaps.
Where does the sitemap go and how does Google find it?
Usually at the site root, at /sitemap.xml, where it covers the whole site. Google learns of it from Search Console or from the Sitemap: line in robots.txt. The old ping method has not worked since 2023.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851