Technical SEO on Shopify
Fix what hides or splits your pages first, and keep Shopify's default canonicals, robots.txt and sitemap. Keep returning products live at their URLs, and redirect discontinued ones to the closest replacement.
7 answers · 3 new or changed since Nov 16 · Data as of Nov 22, 2026
The short version
Our judgment, drawn from the 7 answers below.
Fix what hides or splits pages first, such as a storefront password, collection-path product links, crawlable filter pages and broken canonicals.
From Shopify settings that hurt SEO, Duplicate pages from collections and variants
Point every product link and sitemap entry at the /products/ URL, and keep unwanted tag and filter pages out of the index.
From Duplicate pages from collections and variants, Sitemaps and indexing on Shopify
Keep a product that will come back live at its URL, and redirect a discontinued one to its closest replacement, never the home page.
From Out-of-stock product pages, Redirects for discontinued products
Put one Product block with a nested Offer on every product page, matching the visible price, stock and rating.
The 7 answers
Grouped by the decision you are making. Jump to a group:
Fix crawling and duplicates
Theme and settings problems, duplicate URLs, sitemaps and what Google indexes.
Which Shopify settings and theme issues hurt SEO the most?
Fix what hides or splits pages first. Check for a storefront password, theme links to collection-path product URLs, crawlable filter and tag pages, broken canonicals and missing redirects. Then trim app scripts, and keep Shopify's default robots.txt.
Updated Nov 16 Medium confidence · 9 sources
How should we handle duplicate pages from Shopify collections and variants?
Keep Shopify's default canonicals and point every product link and sitemap entry at the /products/ URL. Keep colors and sizes as variants unless one has its own search demand. Keep unwanted tag and filter pages out of the index.
Medium confidence · 8 sources
How should we manage sitemaps and indexing on Shopify?
Let Shopify generate the sitemap and submit sitemap.xml once in Search Console. Keep pages out with Unlisted status, the seo.hidden metafield or noindex. Check the Page indexing report for key pages Google left out.
High confidence · 7 sources
Handle stock and removals
What to do with product pages that sell out or are discontinued.
How should we handle out-of-stock product pages for SEO?
Keep a product that will come back live at its URL with its full content. Mark it out of stock, match the status in markup and feeds, and offer alerts and alternatives. Don't noindex, redirect or delete it.
Medium confidence · 10 sources
How should we set up redirects when products are discontinued?
Redirect each discontinued product to its closest replacement, or the narrowest relevant collection, as you remove it. With nothing similar and no links or traffic, return a 404 or 410. Never use the home page.
Updated Nov 17 Medium confidence · 9 sources
Add schema and languages
Product structured data and URLs for language and country versions.
How should structured data (schema) be set up for products, reviews and offers?
Put one Product block with a nested Offer in JSON-LD on every product page, matching the visible price, stock and rating. Use ProductGroup for variants and validate it. Expect rich results, not rankings or AI citations.
Updated Nov 19 Medium confidence · 12 sources
How should international stores set up language and country versions for search?
Give each language and country version its own URL, in subfolders of your main domain to start. Link them with two-way hreflang tags and an x-default. Use no IP redirects, and publish fully translated, reviewed pages.
Medium confidence · 10 sources
More in Search and AI
63 answers in 10 subjects
Guides that use these answers: How to get found in Google search