Help and documentation
SEO Medium impact Easy 15–30 min
XML Sitemap
A list of URLs for search engines that helps faster indexing.
What it is
An XML sitemap is a file (usually /sitemap.xml) with a list of all the site's important URLs. Search engines use it to discover content faster and more completely.
Why it matters
Without a sitemap, Google relies only on links: it may discover new or deeply nested pages slowly or not at all. A sitemap speeds up indexing, especially on larger and newer sites.
How to do it
- 1Generate sitemap.xml with all indexable URLs (a CMS usually does this itself).
- 2Include only canonical, indexable pages (not noindex, not redirects).
- 3Add a reference to the sitemap in robots.txt and submit it in Search Console.
- 4Keep it up to date automatically when a page is added or removed.
Reference in robots.txt
Correct
Sitemap: https://www.example.cz/sitemap.xmlConclusion
A sitemap is a cheap insurance for indexing. On a small static site it's not critical; on an e-shop or a site with thousands of pages it's a must. Above all, keep it current and free of non-indexable URLs.
Related topics