An XML sitemap is a plain list of a site's URLs, in a format search engines can read directly, telling them what exists and roughly how often it changes. It doesn't force anything to be indexed — but it's the fastest way to hand a crawler your site's structure instead of hoping it finds every page by following links.
Steps
- Open Sitemap Generator and paste your site's URLs, one per line.
- Choose a change frequency (how often the pages update) and a priority (their relative importance to each other).
- Run it and download the resulting
sitemap.xml, then upload it to your site's root and submit it in Search Console.
What actually goes in a sitemap entry
Each URL gets wrapped in a <url> block with a <loc> (the full address), a <lastmod> date, a <changefreq> hint, and a <priority> value from 0 to 1. Google has said for years it mostly ignores changefreq and priority as ranking signals — the one field that actually matters for crawl scheduling is an honest lastmod, updated only when the page's real content changes, not bumped on every deploy regardless of whether anything meaningful changed.
What a sitemap doesn't do
- It doesn't guarantee indexing — Google still decides what to index based on content quality and crawl budget, the sitemap just tells it what's there.
- It doesn't override a
noindextag or arobots.txtdisallow rule on the same URL — those still block indexing regardless of sitemap inclusion. - It doesn't need to include every URL on a large site — for a small-to-medium site, listing the real, canonical pages you actually want indexed is enough.