What is a sitemap XML?
Definition of a sitemap XML
An XML sitemap is a file in XML format that shows search engines which pages of a website exist and how they are interrelated. It may include additional information, such as:
- When a URL was last updated
- How important it is in relation to other sides
- Which language versions exist
- Which content is regularly changed
Why is an XML sitemap important?
1. Faster indexing
New pages or low-lying sub-pages are found and processed more quickly by Google.
2. More control over crawling
You decide which pages are visible — and which should be left out.
3. More stable SEO performance
Especially for CMS-based projects with many template pages, a sitemap ensures structure and consistency.
4. Assistance with international websites
Multilingual projects benefit in particular from structured information (e.g. via hreflang).
5. Clean basis for AEO
Machine-readable structures are important not only for search engines but also for AI assistants.
How is an XML sitemap structured?
Typical structure:
- <urlset>— Site map framework element
- <url>— entry for a single page
- <loc>— final, canonical URL
- <lastmod>— Date of last update
- <changefreq>— How often content changes (optional)
- <priority>— relative importance (optional)
Preparation and submission
1. Automatically in CMS
Systems such as Webflow, Shopify, or modern headless CMS generate sitemaps automatically.
2. Manually generated
For individual setups or special cases, a sitemap can be created yourself and stored in the root directory.
3. Submit to Google Search Console
The sitemap is typically provided under /sitemap.xml and then entered in the Search Console.
Best Practices
- Don't integrate 404 or redirect URLs
- Page hierarchy that is as flat as possible
- Include indexable pages only
- For very large websites, bundle multiple sitemaps using an index file
- Ensuring that blogs and dynamic content are up to date
TL; DR
An XML sitemap is a structured list of URLs that makes it easy for search engines to crawl and index. It ensures better findability, a clean structure and is a basic technical SEO element — especially for extensive or frequently updated websites.
FAQ
How often should a site map be updated?
Automatically generated sitemaps are always up to date. For manual sitemaps, changes should be added promptly.
Does every website need an XML sitemap?
Small websites can do without a sitemap, but it is standard — and recommended — for SEO-relevant projects.
Is an HTML sitemap the same?
No An HTML sitemap is intended for users, the XML sitemap is for search engines.
Further terms
If you want to dive deeper into the technical basics of crawling, indexing, and structuring, these glossary articles will help you:
- Robots.txt — How to control which areas of your site are crawled
- Crawling — How search engines discover your content
- indexation — How Google decides which pages end up in search results
- AEO — Answer Engine Optimization — why machine-readable data (including XML sitemap) is becoming more and more relevant
