Contact

XML Sitemap

TL;DR: A file that lists every important URL on a site so search engines can discover and crawl them efficiently.

In a nutshell

An XML sitemap is a machine-readable index of the URLs you want Google and Bing to find. It speeds up the discovery of new and updated pages and surfaces deep content that internal links might miss. Example: a 500-product Shopify shop submits sitemap_index.xml to Search Console so every product gets indexed.

Quick answer: An XML sitemap is a file that lists all the URLs on your website that you want search engines to discover and crawl. Submitted to Google Search Console and Bing Webmaster Tools, it’s how you tell search engines about your important pages, especially newly published or recently updated ones. For most sites, a current XML sitemap is foundational SEO hygiene.

What Is an XML Sitemap?

An XML sitemap is a file that lists important pages on your website and helps search engines discover and crawl them efficiently. It’s not designed for human visitors, instead, it’s written in XML (Extensible Markup Language) and submitted to platforms like Google Search Console and Bing Webmaster Tools to help bots prioritise what to crawl and index.

Think of it like a roadmap that says: “Here are all the pages we want search engines to know about.”

Where Is an XML Sitemap Located?

Most sitemaps live at:

https://www.yourdomain.com/sitemap.xml

But they can also live in subdirectories or be broken into multiple files for larger websites. You can link to them in your robots.txt file for easier discovery.

Why XML Sitemaps Matter for SEO

While search engines are smart enough to discover pages by following links, they don’t always find everything, especially on large, complex, or poorly linked websites. XML sitemaps help fill in the gaps.

Here’s why they matter:

  • Improve crawl efficiency by directing bots to high-value pages
  • Highlight newly published content for quicker indexing
  • Ensure discovery of orphaned or deep-linked pages
  • Support international SEO with hreflang-enabled sitemaps

At BrisTechTonic, our SEO audits always include a sitemap check, because we often find either missing sitemaps, incorrect pages listed, or bloated sitemaps including URLs that should never be crawled. Google’s authoritative reference is in the Google Search Central documentation, with broader fundamentals covered on web.dev.

What Should Be Included in Your Sitemap

You should only include index-worthy pages. That means:

  • Live pages with valuable content
  • Canonical versions of pages (not duplicates)
  • Pages you want Google to rank

You should exclude:

  • Noindex or blocked pages
  • Redirects and 404s
  • Paginated pages, tag archives, or parameter-based URLs (unless part of a structured SEO strategy)

How to Create an XML Sitemap

Most platforms generate one automatically:

  • WordPress: SEO plugins like Rank Math or Yoast
  • Shopify: Auto-generates at /sitemap_index.xml
  • Wix & Squarespace: Also automatic, no plugin needed

For custom-built or enterprise sites, you might use a sitemap generator like:

Sitemap Submission

You should submit your sitemap to:

You can also list it in your robots.txt file like so:

Sitemap: https://www.yourdomain.com/sitemap.xml

Multiple Sitemaps and Sitemap Index Files

For large websites, a single sitemap might not be enough. Google allows:

  • Up to 50,000 URLs per sitemap file
  • 50MB uncompressed size limit

When you exceed this, create multiple sitemaps and list them in a sitemap index file:

https://www.yourdomain.com/sitemap-index.xml

This acts like a master list of all your individual sitemaps, think of it as sitemap admin central. It’s particularly useful for ecommerce stores, international websites, and news publishers.

How Sitemaps Work with Crawl Budget

While submitting a sitemap doesn’t guarantee all pages will be indexed, it tells search engines which pages you consider important. Combined with a smart crawl budget strategy, XML sitemaps help you:

  • Reduce crawl waste
  • Prioritise revenue-generating or conversion-focused pages
  • Monitor indexing status more easily in GSC

XML Sitemap vs HTML Sitemap

XML Sitemap: Built for bots, focused on crawl and index control.

HTML Sitemap: Built for users, often a clickable page showing all key site sections. Learn more in our HTML Sitemap glossary entry.

Common XML Sitemap Issues

  • Including noindex URLs, Creates mixed signals
  • Including 404s or redirects, Wastes crawl budget
  • Empty sitemaps, Technically valid but useless
  • Missing hreflang references, Bad for international SEO

We frequently fix these issues during website migrations or when onboarding clients into our SEO packages.

Image and Video Sitemaps

If your website contains lots of media, such as infographics, how-to videos, or ecommerce product images, you can create dedicated media sitemaps to give Google more context.

This is especially useful for Shopify, WooCommerce, or learning sites using on-demand SEO training with lots of rich visuals.

Our Sitemap Strategy at BrisTechTonic

We don’t just generate sitemaps and call it a day. We tailor them:

  • One for core content (e.g. services, product pages)
  • One for blog content
  • One for glossary or educational content (like this!)
  • Optional: images, videos, hreflang if needed

It’s all part of making sure your SEO strategy is airtight from both a technical SEO and content angle.

Related Glossary Terms

External Resources

Frequently Asked Questions

Where should the XML sitemap live?

At /sitemap_index.xml at the root of your domain (yoursite.com/sitemap.xml). Most CMSs and SEO plugins (Rank Math, Yoast, All In One SEO) generate this automatically. Submit the URL to Google Search Console under Sitemaps; Google will then re-fetch it periodically.

Do I need separate sitemaps for different content types?

For larger sites, yes. Splitting into a sitemap index file that points to multiple sitemaps (one for posts, one for pages, one for products, etc.) is best practice once you have more than a few thousand URLs. Most SEO plugins do this automatically.

What should and shouldn’t be in the sitemap?

Include: indexable, canonical pages you want to rank. Exclude: noindexed pages, duplicate URLs, pages blocked by robots.txt, login/admin pages. Common mistake: including tag and category archives that you’ve set to noindex elsewhere; the sitemap and the noindex tag give conflicting signals.

How often should the sitemap update?

Whenever content changes. Modern SEO plugins update the sitemap automatically when posts or pages are added, edited, or removed. Static sitemaps that don’t update become stale fast and lose value. Verify yours regenerates by changing a page and checking the sitemap timestamp.

Take this further

XML sitemaps are SEO basics that catch surprising numbers of issues during audits. We see at least one sitemap problem on most sites we work with.

Ready to apply this to your own site? Book a free discovery call, or explore our SEO strategy service.

SEO & PPC Glossary

Everything you need to know about SEO & PPC

View the full Glossary