Clicks & Carts

Shopify sitemaps: what's in them and what you can control

Shopify generates and maintains it for you. Which is good, because it also means you cannot edit it — so the control is elsewhere.

6 min read · SEO ·

Shopify generates sitemap.xml automatically and keeps it current. You don't create it, you can't edit it, and for a theme-based store that's genuinely fine — it's one less thing to maintain badly.

Find it at yourstore.com/sitemap.xml.

What's in it

An index file pointing at sub-sitemaps for:

  • Products — every published product on the online store channel.
  • Collections — every published collection.
  • Pages — published pages.
  • Blogs and articles — published posts.

Updated automatically as you publish and unpublish. Nothing to do.

What you can't do

Worth knowing so you stop looking:

  • Exclude specific URLs. There's no per-page toggle.
  • Set priority or change frequency. Google largely ignores both anyway.
  • Add URLs that aren't Shopify objects.
  • Reorder or restructure it.

The control you have is publication status, not sitemap membership. Unpublish a product and it leaves; publish it and it appears.

Submit it once

In Search Console, add sitemap.xml under Sitemaps. Once. Shopify keeps it current from then on.

Resubmit after:

  • A migration or relaunch.
  • A domain change — including a rebrand, where you also want a change of address.
  • A large restructure.

Then watch the discovered versus indexed numbers. A large gap means Google is finding pages and choosing not to index them, which is a content or duplication signal rather than a sitemap problem — duplicate content.

robots.txt

Shopify generates this too, with sensible defaults that block cart, checkout and account URLs. It can be customised through the theme if you genuinely need to, and for most stores you shouldn't.

If you've inherited a store, check whether someone edited it. A stray Disallow blocking your collections is rare, catastrophic, and takes ten seconds to check.

The noindex you do control

Since you can't remove URLs from the sitemap, thin pages you don't want indexed need handling elsewhere:

  • Unpublish what shouldn't exist publicly.
  • A noindex meta tag via theme logic on templates you want excluded — a thank-you page, an internal landing page.
  • Canonical tags for near-duplicates like filtered collection views.

The most common real case is thin or empty collections. The better fix is not having them: either fill the collection or delete it and redirect.

International sitemaps

With Markets, each market's URLs appear appropriately and hreflang connects the versions. Verify hreflang works — it's the most common technical SEO failure on multi-market stores, and a correct sitemap doesn't save you from broken hreflang.

If you use country-specific domains rather than subfolders, each domain has its own sitemap and each needs submitting separately — Markets setup.

Headless is different

On a headless storefront, Shopify's sitemap describes the theme storefront, not your front end. You generate your own — products, collections, pages, articles — and keep it current as the catalogue changes.

It's on the list of things that were free with a theme and become yours. A stale sitemap on a large headless catalogue means new products go undiscovered for weeks.

The two-minute check

  1. Load yourstore.com/sitemap.xml — it should return 200 and list sub-sitemaps.
  2. Open the products sub-sitemap and spot-check that a recently published product is there.
  3. In Search Console, compare submitted against indexed.
  4. Load robots.txt and read it.

That's the whole audit, and it's part of the technical SEO checklist.

Shopify's sitemap is one of the few SEO things you genuinely don't have to manage. Submit it once, then spend the attention on the pages it points at.

Is this the problem you’re looking at?

Send me the link to your store and a line about what is going wrong. You get a straight answer within one business day — no pitch, no obligation.

[email protected]

Or see what I do around Shopify: services, work beyond the theme, selected work.

Keep reading

← All articles