Which pages should actually be included in an XML sitemap
Decide which pages belong in an XML sitemap by focusing on canonical, indexable and worthwhile URLs.
Include pages you want discovered, indexed and trusted
The best sitemap entries are pages with clear SEO value: canonical URLs, indexable content, useful landing pages, articles, categories or product pages that deserve discovery.
If a page exists mainly for internal workflows, tracking parameters, faceted duplicates or thin utility output, it usually does not belong in the sitemap.
Treat the sitemap like a curated inventory
A good sitemap is not a dump of every reachable URL. It is closer to a shortlist of pages you want search engines to spend attention on.
That mindset improves technical hygiene. Before adding a page, ask whether it is canonical, useful, indexable and strategically worth surfacing.