What is XML Sitemap?
A sitemap acts like a map for crawlers. It lists URLs and can include when each page was last updated. It does not guarantee indexing, but it helps search engines find new and updated pages faster, especially on large or new sites.
Why XML Sitemap matters
- Faster discovery: New pages are found sooner when listed in a sitemap.
- Better coverage: Deep pages with few links are less likely to be missed.
- Clear reporting: Search Console shows which submitted pages are indexed.
How to use XML Sitemap step by step
- Generate automaticallyUse your CMS or SEO plugin to keep the sitemap updated.
- Include only good URLsList pages you want indexed, not redirects or noindex pages.
- Submit in Search ConsoleAdd the sitemap URL and reference it in robots.txt.
- Monitor indexingCheck the Pages report for submitted URLs that are not indexed.
A real-world example of XML Sitemap
A new ecommerce site submits an XML sitemap with all product and category pages. Google discovers new products within days instead of weeks, and indexing issues show up clearly in Search Console.
Common XML Sitemap mistakes to avoid
- Listing broken URLs: Redirects, 404s and noindex pages waste crawl attention.
- Stale sitemaps: Sitemaps that do not update with new pages lose their value.
- Thinking it guarantees indexing: Low-quality pages can still be left out.
Expert tip from Mandeep Singh Chahal
Digital marketing expert
Compare the number of URLs in your sitemap with the number indexed in Search Console. A big gap is often the fastest way to spot content or technical problems.
Frequently asked questions
Why are pages in my sitemap not indexed?
Google may see them as low value, duplicates or blocked. Check the Pages report for the exact reason.
Why does Search Console say it could not read my sitemap?
The URL may be wrong, blocked, too large or have invalid formatting. Open it in a browser and check for errors.
Why are new pages missing from my sitemap?
Your plugin or CMS may cache the sitemap or exclude that content type. Check settings and clear the cache.
Should I include every page in my sitemap?
No. Include only pages you want in search results, and leave out thin, duplicate or noindex pages.
How often should my sitemap update?
Ideally every time you publish or change important content. Most SEO plugins do this automatically.
Do I still need a sitemap for a small site?
It is less critical with good internal links, but it is easy to add and helps monitoring.
Why does my sitemap show old or deleted pages?
Cached or outdated settings may keep old URLs. Regenerate the sitemap and remove dead pages.