Using XML Sitemaps correctly: when to help and where their limits lieSitemaps as a clean signpost – not as a repair tool for weak architecture
An XML sitemap helps to make desired public URLs findable. Their benefit depends above all on a reliable selection and regular care, not on the largest possible number of entries.
List final URLs with the desired indexing intent. Check the created file for normal content changes, not just once when you set it up.
Which URLs belong in it?
Choose the preferred public addresses of stand-alone content. Forwarding, error targets and deliberately excluded user functions should not get into the sitemap through an unfiltered database query.
For multilingual websites and shops, the selection must fit the actually published language or sales channel. An existing data set is not automatically accessible under every conceivable URL.
A small controllable XML section
The date here is an illustrative date of a major content change. It shouldn’t jump to today for every file rebuild. If the application does not reliably know the time, lastmod can be omitted.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.org/ratgeber/</loc>
<lastmod>2026-10-28</lastmod>
</url>
</urlset>
Check generator and output together
- Retrieve the public sitemap index and all relevant part files without logging in.
- For samples, compare HTTP status, canonical and robots specifications of said URLs.
- Test a new, modified, and removed sample object in the normal publishing process.
- Correct selection errors in the responsible generator instead of manually deleting individual XML lines.
- Check retrieval and processing in Search Console with date and reported problems.
Properly classify size and discovery
A single sitemap must have a maximum of 50,000 URLs and 50 MB of uncompressed size. Larger stocks require partial sitemaps and, if necessary, an index. Compression does not replace compliance with these limits.
A sitemap does not guarantee crawling or indexing. Important content should also be accessible via understandable internal links. A crawl that only captures part of the website cannot conclusively prove missing linking.
Frequent questions
Does a small website need a sitemap?
Not mandatory. Well-linked small websites can be discovered without them. A correctly maintained sitemap can still facilitate the overview.
Why do manually deleted entries not disappear permanently?
Because the next generator run selects them again. The selection rule or the underlying publication status must be corrected.