An XML sitemap is a list of the URLs on your site that you want search engines to find. It does not guarantee indexing or improve rankings directly, but it helps crawlers discover new and updated pages, especially on larger sites or sites with weak internal linking.

Most sitemap problems come from listing too much, not too little. Here is what belongs in it and what does not.
What to include
- Pages that return a 200 status code.
- Pages that are indexable, with no noindex tag.
- The canonical version of each page.
- Important content: services, products, blog posts, category pages.
Think of the sitemap as your list of pages you are proud of and want to appear in search.
What to leave out
| Leave out | Why |
|---|---|
| Redirected URLs | Search engines should be sent to the final URL |
| Pages with noindex | You are sending mixed signals |
| Non-canonical duplicates | Parameter and tracking variants waste crawl effort |
| Thank-you and admin pages | They offer no value to searchers |
| Thin tag or archive pages | Unless they are genuinely useful landing pages |

Keep lastmod honest
The lastmod field tells search engines when a page last changed meaningfully. Google has said it uses this value when it is consistently accurate. If you update every date every day, the signal becomes useless. Change lastmod only when the main content changes, not when a footer or sidebar updates.
Google ignores the priority and changefreq fields, so you can leave them out.
Structure for growing sites
A single sitemap can hold up to 50,000 URLs or 50MB uncompressed. Even below those limits, splitting sitemaps by type, such as pages, blog posts and products, makes it easier to see which section has indexing problems. A sitemap index file then lists the individual sitemaps. This site uses exactly that setup: one index pointing to a pages sitemap and a blog sitemap.
Image entries
If images matter for your traffic, you can add image entries to your sitemap so Google discovers them more easily. This is useful for original illustrations and product photos.
Submit and monitor
- Reference the sitemap in your
robots.txtfile with aSitemap:line. - Submit the sitemap index in Google Search Console under Sitemaps.
- Check the Pages report regularly to compare submitted pages with indexed pages.
- Investigate any large gap, often a sign of quality, duplication or crawl issues.
Our guide to getting new pages indexed faster covers what to do when submitted pages stay out of the index.
Common questions
Does a sitemap improve rankings?
Not directly. It helps discovery. Rankings still depend on content quality, relevance and links.
Should I have an HTML sitemap too?
An HTML sitemap helps visitors and adds internal links. It is optional but useful, especially on sites with many pages.
Our team plans and builds links around the pages that matter to your revenue.

