Short answer: An XML sitemap is a file that lists the pages you want search engines to find, usually at yourdomain.com/sitemap.xml. Include only real, indexable pages, keep it updated automatically and submit it in Google Search Console and Bing Webmaster Tools.
What belongs in a sitemap
- Pages you want to appear in search results.
- The final address of each page (https, no redirects).
- An accurate last-modified date where possible.
What to leave out
- Pages marked noindex.
- Redirects, broken pages and duplicates.
- Admin, login, search-result and thank-you pages.
How to create one
- WordPress: core WordPress creates wp-sitemap.xml; SEO plugins create their own.
- Static sites: most site generators create one; ours is generated with every build.
- Large sites: split into several sitemaps listed in a sitemap index.
How to submit it
- Add the sitemap address to robots.txt with a Sitemap: line. See robots.txt.
- Submit it in Google Search Console.
- Submit it in Bing Webmaster Tools.
Frequently asked questions
Does a sitemap guarantee indexing?
No. It helps discovery, but search engines still decide which pages to index.
How often should it update?
Automatically, whenever you publish or change pages.



