An XML sitemap is a file that lists the important pages on your website. It acts like a map for search engines, helping them discover pages faster, especially new or deeply buried ones.
What to include
Include pages you want people to find: your main pages, articles, products and category pages. Leave out thank-you pages, login pages, internal search results and duplicate versions of the same page.
How to create one
Most WordPress sites already have a sitemap at /wp-sitemap.xml, and SEO plugins can generate their own. Other platforms usually have a setting or an app for it.
Submit and reference it
Add a line to your robots.txt such as Sitemap: https://example.com/sitemap.xml. You can also submit it in Google Search Console and Bing Webmaster Tools.
Check it
Use our robots.txt and sitemap checker to confirm the sitemap loads, lists real URLs and includes lastmod dates. A sitemap does not guarantee indexing, but it removes one common reason pages get missed.
Key takeaways
- List only pages you want found, never duplicates or private pages.
- Reference the sitemap in robots.txt and submit it to Search Console.
- A sitemap helps discovery but does not guarantee indexing.


Comments