How should we set up redirects when products are discontinued?
Our answer
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.
- Confidence
- Medium
- Strongest proof
- 8 official rules
- 7 practitioners
- Sources
- 9 sources
- 15 statements
G
1PCDPH
New here? Take the 1-minute tour
Why this is the answer
3 reasons and our judgmentGoogle wants a redirect only where a real replacement exists. It says to return a 301 when a removed page has a clear replacement and a 404 or 410 when no page has similar content. It treats all 4xx codes except 429 the same.
Agencies redirect a discontinued product to its closest replacement first. Then they go to the parent category when the page still has links or traffic, and they warn against home page redirects (1Digital, palvdm, DeltaWeb, Performetic).
Shopify redirects only from a URL that returns a 404. So you must delete the product, set it to draft or remove it from all sales channels before the redirect works.
Our judgment
- Treat a 404 and a 410 as equal choices for a page with no replacement. Google's rule outweighs the agencies' claim that a 410 drops a URL faster, which comes without data.
- Make the redirect part of removing the product. Do it in the same session, following Relevant Audience's rule for every deletion and 1Digital's warning that the 404 is live the moment a product is deleted.
- Redirect only to a page a shopper looking for the old product would accept. We base that on Google's wording about a clear replacement and similar content, and on the agencies' warnings against home page and unrelated redirects.
- The same rules apply when a local or lead generation business retires a service page. Google's soft 404 and redirect guidance covers any removed page.
Our judgment, built from Google, Performetic, 1Digital, palvdm.com, DeltaWeb, Relevant Audience and SEO Bangkok: our reading of these sources, not a finding from any one of them.
What the sources say
15 statements from 9 sourcesShopify's SEO checklist says a discontinued product's URL should return a 404 or 410, redirecting only to a relevant alternative, while out-of-stock pages stay live with availability marked and restock alerts.
“If a product is officially discontinued, let the URL return a 404 or 410. Only redirect when there's a relevant product alternative”
Shopify lets you redirect only URLs that return a 404, such as a deleted or draft product, to a similar page, up to 100,000 redirects (20,000,000 on Plus).
“If the URL still loads a valid webpage, then the URL redirect won't work.”
Shopify Flow can create a URL redirect automatically when a product is deleted, sending visitors to a page about discontinued products, though it may fail if the product had a custom handle.
“Note that if the product had a customized handle or URL prior to being deleted, this workflow might not work.”
DeltaWeb, a web design seller, advises one decision per discontinued product: 301 to the closest successor, 410 if none and low traffic, or an info page. It says not to batch-redirect old pages to the homepage.
“Avoid batch-redirecting old pages to the homepage.”
Performetic, which sells ecommerce SEO, advises a 301 for a discontinued product only when a genuinely similar one exists, otherwise a 404 or 410, and never redirecting everything to the home page. No data.
“Avoid redirecting everything to the home page.”
HiAgency, an ecommerce SEO seller, advises redirecting discontinued product URLs to a direct replacement, or else a subcategory, within 24 to 48 hours. Keep pages with 10+ referring domains. No data.
“Redirect discontinued URLs to successor products within 24-48 hours of discontinuation”
1Digital, which sells ecommerce SEO, advises a 301 redirect to the closest live alternative for discontinued products with backlinks, not the homepage, and a 404 or 410 when there are none. No data.
“Do not redirect to the homepage. A homepage redirect wastes the topical relevance of the inbound link and Google treats it as a soft 404 in many cases.”
Google's structured data documentation says the schema.org Discontinued availability value means the item has been discontinued, which supports marking a page kept live as discontinued.
“The item has been discontinued.”
Relevant Audience, which sells SEO, gives a Shopify SEO order: index only filter pages people search, check canonicals by hand, add a 301 redirect whenever a handle changes, and audit leftover app scripts.
“Changing a product or collection handle changes the URL, and every existing link becomes a 404 immediately.”
palvdm.com, which sells SEO, says redirect a discontinued product to a close replacement, not the category. With none, redirect to the parent category if it has traffic or backlinks, else return a 410.
“Permanently discontinued with a close replacement: 301 redirect to the replacement product, not the category page, wherever a genuinely similar item exists.”
Shopify's 404 guide lists 410 as the status for deleting a discontinued product's page, but also says to redirect a deleted product page to the most relevant page, so its advice pulls both ways.
“Deleting the page for a discontinued product”
SEO Bangkok, which sells SEO, says not to delete discontinued product pages: redirect to a replacement or the parent category, and only then return a 410. Do not redirect temporarily unavailable products.
“The rule to remember is simple: never just delete.”
Google says use a permanent redirect for a removed page when you won't revert it, since Google treats the target as the canonical page. Platforms like Shopify may have built-in redirects.
“Use permanent redirects when you're sure that the redirect won't be reverted.”
Google says all 4xx errors except 429, including 404 and 410, are treated the same: the content is deemed not to exist and indexed URLs are dropped from the index. Crawling of them gradually slows.
“are treated the same: Google crawlers inform the next processing system that the content doesn't exist.”
Google says pages that tell users they don't exist but return a 200 code are soft 404s and are dropped from Search. Return a 404 or 410 for removed pages, or a 301 when there's a replacement.
“If your page has moved or has a clear replacement on your site, return a 301 (permanent redirect) to redirect the user.”
In the full answer
For readers who sign in- What to do this week3 steps
- The numbers behind it3 figures from cited sources
- Where each source standsA chart placing each source on the question
- The strongest disagreementThe best case against the answer, from a cited source
- How sure we areWhat its confidence rests on, and what would change the answer