webzod
account

Remove URLs from other domains in the sitemap on Shopify

hygiene.sitemap.offsite_urls · effort: about an hour

Why it matters

A sitemap should list only URLs on its own site, and entries on another domain are ignored by search engines. This usually means a staging or old domain is still set as the site address.

The fix

Not possible on Shopify. Shopify builds the sitemap from the store's primary domain and you cannot edit it. Set the correct primary domain under Settings, Domains, and the sitemap follows it.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.