Discontinued Shopify Products: 301, 410 or Keep?
A decision flow for permanently discontinued Shopify products: archive and let it 404, 301 to a replacement or the nearest collection, or keep the page live.
Quick answer: For a product that is gone for good, check whether its URL still earns anything: search clicks, links from other sites, links inside your store, or ads and emails that point to it. If it earns nothing, or nothing relevant is left to send people to, archive it and confirm it returns a 404; if it does earn something, 301 redirect it to a close replacement, or to the nearest specific collection if only the category survives. Do not send everything to the home page. Google’s documentation treats 404 and 410 the same way, so you do not need a 410, and I could not find a Shopify setting for one anyway.
Every Shopify store that sells physical products ends up with a graveyard: a range you refreshed, a supplier who stopped making something, a colour that will never come back. The advice online on what to do with those pages splits into two camps. One says redirect everything. The other says delete and ignore the 404s. Both are wrong often enough to cost you.
This guide is a decision flow you can run product by product, using inputs you can look up in an afternoon: search clicks, links from other sites, and anything inside or outside your store that still sends people to the URL. It also covers how to do each outcome in Shopify and what Google’s documentation does and does not say.
One scope note. This post is about permanent removal. Temporary stock-outs and seasonal products that come back are a different decision, usually “keep the page live”, and they are not what I am covering here. For the wider picture of how this fits with your other technical work, see the Shopify SEO and CRO resource hub.
Facts about Google and Shopify below were checked against their own documentation as at 31 October 2026. Both change, so treat dated statements as a snapshot.
First, is the product really gone for good?
Run three quick tests before you touch anything.
- Is a restock planned? If a supplier might resume or you might reorder, it is not discontinued. Keep the page.
- Does it come back seasonally? A Christmas bundle that returns each November should keep its address, so it is not a candidate for a redirect or a 404.
- Is a new version replacing it? If the “v2” is the same product improved, you are in the redirect branch below.
If the answers are no, no and no, carry on.
What your three options actually do
A discontinued product URL can end in only three ways. Here is what Google’s own documentation says about each, and when I think it fits.
| Option | What Google’s documentation says | When it fits |
|---|---|---|
| 301 redirect | Permanent redirects show the new target in search results | A real replacement or a fitting collection exists |
| 404 (or 410) | A URL that returns a 4xx is not indexed, and one already indexed is removed | Nothing relevant to send people to |
| Keep the page live | It stays a normal page; Discontinued is an allowed availability value | Past customers still use the page |
Some detail from the pages I read.
Redirects. Google’s redirects page says permanent redirects show the new target in search results and temporary ones show the source page. It says to use a permanent redirect when you are sure it will not be reverted, and names 301 and 308 as the permanent codes. It also says to use JavaScript redirects only if you cannot do a server-side or meta refresh redirect, because rendering can fail. If you use a redirect app, ask the vendor which kind it sends.
404 and 410. Google’s HTTP status code page says it does not index URLs that return a 4xx, and removes already-indexed ones from the index. All 4xx errors except 429 are treated the same, newly encountered 404 pages are not processed, and the crawl frequency for a URL gradually decreases. It gives 410 no special treatment.
Search Console’s view of 404s. In the Page indexing report help, Google says 404 responses are not necessarily a problem if the page has been removed without any replacement, and recommends fixing only 404 errors that you link to yourself or list in a sitemap. That is the permission to let genuinely dead pages die, on one condition: nothing of yours still points at them.
The soft 404 trap. The same HTTP page says that if a page returns a success status but the content suggests an error, such as an empty page or an error message, Search Console shows a soft 404. The Page indexing help says to return a 404 response for pages that are truly not found. So a “sorry, this product has been discontinued” page that returns a normal 200 status and offers nothing is neither a clean 404 nor a useful page. Our soft 404 guide goes deeper.
Step 1: Measure what each URL still earns
You cannot decide on gut feel for 40 products, and you should not have to. Build a simple list with one row per discontinued product and these columns. Everything here is free.
Search clicks and impressions. In Search Console, open the Performance report, switch to the Pages tab and find the product URL. Google’s help says the default view covers the past three months, so widen the date range. Then click the page and look at the Queries tab. This is the part that most checklists skip. The queries tell you what people wanted:
- If the queries are the product’s exact name or SKU, people want that specific item. They are probably past buyers or people who saw it elsewhere. A close replacement helps them; a collection page is a weaker match.
- If the queries are a generic category term (“vitamin c serum”, “women’s trail shoes”), the page was borrowing demand that belongs to your category. The nearest collection, or the replacement if it targets the same term, is the natural new home. Our guide to collection page SEO covers how to make that target worth landing on.
Links from other sites. In Search Console, the Links report shows external links, including your top linked pages. Google’s help is clear that it is not a comprehensive list: tables are capped at 1,000 rows, some URLs such as non-indexed pages may be left out, and it includes links found over time that may since have been removed. So absence from the report is not proof of absence of links. If you use a backlink tool, check that too. A link from a review site, a blog or a supplier’s “where to buy” page is the clearest reason to redirect rather than let a URL die.
Visits and orders. In GA4 or Shopify’s reports, look at sessions and orders that landed on the product over the longest period you can see, to catch traffic that does not come from Google: email, social, direct and referral.
Links from your own store. Check menus, hand-built collections, blog posts, landing pages, pop-ups and “complete the look” blocks. A product you retire while a blog post still links to it creates a 404 you made, which is the kind Google says to fix.
Ads, email and feeds. Anything that points at the product URL will send paying or subscribed traffic to a dead page. We do not run ads or email, so ask whoever does to remove or repoint anything using the old URL on the day you retire the product.
Customers themselves. If support emails ask for a refill, a spare part or the instructions, the page still has a job.
Write your cut-off down before you look
Google gives no threshold for “worth a redirect”, and neither does Shopify. Pick yours in advance so you are not rationalising each URL. Mine, as a rule of thumb and not a Google rule: any clicks in the longest period you can see, any external link from a real site, any internal link you cannot remove, or any live ad or email pointing at it puts a URL in the “earns something” pile. Everything else goes in the “earns nothing” pile.
Step 2: The decision flow
Take each product and answer these in order. Stop at the first outcome that applies.
- Does a past customer still need this page? (Consumable refills, spare parts, manuals, warranty or care instructions.) If yes, and the page can say so clearly, keep the page (branch D).
- Does the URL earn anything under your cut-off? If no, archive it and let it 404 (branch A).
- Is there a close replacement? Same job, same kind of buyer, similar price tier, and in stock. If yes, 301 redirect to that product (branch B).
- Is there a collection that is the natural next place? The narrowest collection that still holds relevant, in-stock products. If yes, 301 redirect to that collection (branch C).
- Otherwise, nothing relevant remains. Archive it and let it 404 (branch A again), even if the URL earned something. A redirect to an unrelated page helps nobody.
The branches in detail
Branch A: Archive and let it 404
This is the right answer for more products than people expect: a URL that earns nothing needs no redirect, and the effort belongs on the ones that do.
Use Archived rather than deleting. Shopify’s help describes archiving as a way to stop selling a product without permanently deleting it. An archived product is hidden from your storefront and the main admin product list, and archiving does not remove it from collections, though customers cannot view it there. Shopify’s developer documentation says unarchived products default to Draft status. So archiving is reversible, and the product’s data stays in your admin.
One thing to verify yourself. Shopify’s redirect help names Draft status or removing a product from all sales channels as ways to make a URL return a 404. It does not name Archived. After you archive a product, open its address in a private browser window and confirm you get the store’s “not found” page, and check the status code in your browser’s developer tools (Network tab). As a reference point, on 31 October 2026 a product address that did not exist on one Shopify demo store returned HTTP 404, not a soft 404. That is one store on one day, so check your own.
Then remove everything of yours that points at it, per Step 1.
Branch B: 301 to a close replacement
This is the best outcome for the shopper and for you. The rule I use: if you would be comfortable personally recommending the replacement to the person who landed there, redirect. A replacement is the same job, not just the same category. Moving from a discontinued 50 ml vitamin C serum to the newer version of that serum is a replacement. Moving to a face wash because it is in stock is not.
Check three things before you commit:
- Is the replacement in stock and likely to stay? Redirecting to something that sells out next month builds your next problem. If the replacement is itself on shaky ground, the collection (branch C) is safer.
- Does the replacement target the same search? If the queries on the old URL were generic category terms, check the replacement page is a sensible place to land for them. The product page SEO checklist covers what the page needs.
- Is it one hop? Point the old URL straight at the final destination. Google’s site move guidance says Googlebot can follow up to 10 hops but suggests ideally no more than three and fewer than five. Chains build up when a replacement is later discontinued itself (see “Revisit your redirects”).
Branch C: 301 to the nearest collection
Shopify’s help page confirms that a redirect can point from a product to a collection, using /products/blue-t-shirt to /collections/t-shirts as its example.
“Nearest” means the narrowest collection that still fits and still has relevant products, not the broadest. If you discontinue a retinol serum, “Retinol serums” beats “Serums”, which beats “Skincare”, which beats “Shop all”. The more specific the target, the closer it is to what the shopper wanted.
Before you redirect to a collection, open it and check:
- It has products on it, and they are in stock. Google describes a soft 404 as a success response whose content suggests an error, such as an empty page. An empty collection looks like that pattern, and a sold-out one is a poor landing page whatever Google makes of it.
- It is a page you want to be the destination. If the collection is thin, fixing it first is the better use of your time. Our guide to category pages as the highest-leverage SEO asset is the place to start.
- It is not a filter or tag URL. Shopify’s help page says collection tag filter URLs, such as
/collections/collection-name/tag-name, cannot be redirected. If you have a lot of those, our post on filter URLs and index bloat covers how to think about them.
Branch D: Keep the page, clearly marked
For some products the page is still useful long after the sale ends: a refill for a consumable, a spare part, a manual, a warranty page. If people with the product still search for it, a clean 404 sends them away. A live page can answer the question they came with.
If you keep it:
- Say it is discontinued in plain text at the top and give the reason in one sentence if you can.
- Remove the buy button. Offer links to the replacement or the relevant collection, and a way to ask a question.
- Keep the useful content. Instructions, ingredients, size guides, care details.
- Set the right availability in structured data. Google’s merchant listing documentation lists
Discontinuedamong the allowed availability values and says not to specify more than one value. Check what your theme outputs on the page. The documentation does not promise any particular result from setting it, so I am not claiming one. - Take it out of your navigation and collections so shoppers browsing the store do not run into a product they cannot buy. People who need it will still find it through search or your support replies.
- Keep it a real page. Google describes a soft 404 as a success response whose content suggests an error, such as an empty page or an error message, so a bare “discontinued” notice is the wrong thing to keep. The page should still answer the question that brings people to it.
- Do not use Shopify’s Unlisted status for this. Shopify’s help says an unlisted product is hidden from internet search and your sitemap, gets
noindexandnofollowtags, and can still be added to the cart from its direct URL. That is a different job from a page you want people to find and not buy from. - Set a review date. A “keep” decision is not permanent. Put six or twelve months in your calendar and re-run the Step 1 numbers; if clicks and links have faded, move to branch A.
What not to do
Do not redirect everything to the home page. Shopify lets you enter ”/” as the target, which is why people do it. I could not find a Google page that sets a rule about it, so I am not going to claim a penalty. My reason is simpler: a shopper who clicked for a specific product has to start again from your home page, and many will not. If there is no relevant destination, an honest 404 is a better experience. If you are mapping hundreds of old addresses at once, the same discipline applies as in a store migration, and our Shopify migration SEO checklist covers it.
Do not redirect to an unrelated in-stock product. It looks tidy in a spreadsheet and confuses the shopper.
Do not redirect a URL that is still live. Shopify’s help says you can redirect only from broken URLs. Retire the product first, redirect second.
Do not delete instead of archiving, and do not leave your own links pointing at the dead URL. The second is the only 404 category Google specifically says to fix.
What about 410?
A 410 means “gone”. Shopify’s own blog says a 410 is for pages that are permanently deleted, with a discontinued product page as its example, so it is fair to ask whether you need one. Here is what I found, and what I did not.
- For Google, it makes no practical difference. The HTTP status code page treats all 4xx codes except 429 the same. I only checked Google’s documentation; other crawlers may differ.
- I could not find a Shopify setting that returns a 410. The Shopify help pages I read cover URL redirects and product statuses, not a way to choose an error code. Shopify’s blog article does not say how to return a 410 on a Shopify storefront either. One Shopify Community thread from December 2024, answered by a community member rather than Shopify staff, says a 410 cannot be set through code and that putting “410 Gone” text on the 404 template changes the words, not the status code. That is not Shopify documentation, so test your own store.
- I have not verified any workaround, such as an app or a proxy in front of the store, on a current Shopify store, and Google’s documentation gives no reason to take on the upkeep.
My recommendation: use Shopify’s default 404 for a retired product and spend the effort on the redirects and internal links that move traffic. If someone says a 410 is essential, ask where Google’s documentation says it behaves differently from a 404.
How to do it in Shopify, step by step
Here is the order I work in.
- Build the list. Export your discontinued products into a spreadsheet with columns for the old URL, search clicks, external links, internal links, ads/email/feed references, and the decision.
- Fill in Step 1 for each row, then apply the flow and write the outcome and target URL. Check each target in a browser: it loads, it has products, it is the right page.
- Retire the product. Archive it (or set it to Draft, which Shopify’s help names as a way to get a 404). Remember the redirect only works from a broken URL.
- Confirm the old URL returns a 404. Load it in a private window and check the status in developer tools.
- Create the redirects. Shopify’s help gives the path as Content, then Menus, then View URL redirects, then Create URL redirect: enter the old address in “Redirect from” and the new one in “Redirect to”, using a relative address for your own store. For many at once, the same page describes a CSV import with a downloadable sample file. Shopify says redirects start working immediately.
- Test each market. Shopify’s redirect help page is not consistent here. One section says redirects do not automatically apply to all market subfolders and you must create one for each; another says a single redirect applies to all language or market subfolders, with a worked example for a Canadian subfolder. It does not cover separate market domains. So load the old address under every subfolder and domain you sell through, and add a redirect for any that still 404.
- Test the redirect. In developer tools, or with
curl -I https://yourstore.com/products/old-handle, you want a 301 status and a location pointing at the final page, then a 200 on that page. Shopify’s help page does not state which redirect status its tool sends, so check it rather than assume. If it is not a permanent redirect, stop and fix that before you create a hundred of them. - Fix your own links in menus, collections, blog posts and pop-ups, and have your ads, email and feed owners update theirs the same day.
- Record what you did, with the date.
A worked example (illustrative numbers)
These numbers are illustrative, not from a real store. Say a skincare store refreshed its range and discontinued 40 products. After Step 1 and the flow, the list looks like this.
| Group | Products | Decision |
|---|---|---|
| No clicks, no links, nothing pointing at them | 22 | Archive, 404, remove internal links |
| Clicks, and a close successor exists | 9 | 301 to the successor |
| Clicks or links, only the category remains | 5 | 301 to the narrowest fitting collection |
| Refills that customers search for by name | 2 | Keep, mark discontinued |
| A retired line, no relevant page left | 2 | Archive, 404 |
Of the 40, only 14 need a redirect, two need a content decision, and the other 24 need an archive and a clean-up of internal links. “Delete all 40 and ignore the errors” would throw away whatever the 14 still earn and ignore the 2 that still have a job. “Redirect all 40 to the home page” would send people from 24 pages that had no relevant destination to a page that is no use to them.
After the change: what to expect and what to watch
In Search Console, retired URLs may appear as “Not found (404)”, and redirected ones as “Page with redirect”, which Google describes as a non-canonical URL that redirects to another page and so is not indexed. Neither needs clearing. Watch instead for the 404s you link to or list in a sitemap, which are the ones Google says to fix. I will not give a timeframe for how long old URLs take to drop out, because Google does not publish one.
On results, measure the pages you redirected to. Are they getting the clicks and orders the old URLs used to? That is the real test of whether the redirects were well chosen. Nobody can promise how Google will treat the new page. Our technical SEO audit checklist is a good routine for the rest of the store’s housekeeping.
Revisit your redirects
Google’s site move guidance recommends keeping redirects in place for as long as possible, generally at least one year, and says permanent redirects do not cause a loss in PageRank. That page is written for moving a whole site, so I am applying it to product retirement by analogy. In practice:
- Keep the redirect for at least a year, and longer if the old URL still gets visits or links.
- Shopify warns that browsers and search engines cache 301 redirects, so removing one may not stop it working straight away. Be sure before you remove.
- When a redirect target is itself discontinued, edit the original redirect to point at the new final page. Do not stack a second redirect on top.
Key takeaways
- Decide product by product. “Redirect everything” and “delete everything” are both wrong for some products.
- Look up what each URL still earns: search clicks and the queries behind them, links from other sites, links inside your store, and ads, emails or feeds pointing at it.
- No pull and no relevant destination: archive it and let it 404. Google says 404s are not necessarily a problem, provided you do not link to them yourself.
- A close replacement gets a 301 to that product; if only the category remains, a 301 to the narrowest fitting collection. Check the target has products.
- Never redirect to a page that is irrelevant to the person who clicked, and never serve a 200-status “gone” page.
- Google treats 404 and 410 the same, and I found no Shopify setting that returns a 410, so do not spend effort there.
- Retire the product first, then redirect. Shopify redirects only work from broken URLs, and Shopify’s help is inconsistent on markets, so test every subfolder and domain you sell through.
- Keep redirects for at least a year, avoid chains, and fix your own links first.
FAQs
Should I delete or archive a discontinued Shopify product?
Archive it. Shopify’s help describes archiving as a way to stop selling a product without permanently deleting it. Deleting is for products added by mistake.
Should I redirect discontinued products to the home page?
Generally not. Shopify lets you, but I could not find a Google page that sets a rule about it, so my objection is about the shopper, not a ranking penalty. Redirect to the closest product or collection, or let it 404.
Does Shopify return a 410 for deleted products?
I could not find a Shopify setting for it, and one community answer says it cannot be done through code, though that is not Shopify documentation, so test your own store. For Google it makes no practical difference: its documentation treats all 4xx errors except 429 the same.
Will 404 pages hurt my Shopify SEO?
Not on their own. Google’s Page indexing help says 404 responses are not necessarily a problem if a page was removed without any replacement, and recommends fixing only the 404s you link to yourself or list in a sitemap.
How long should I keep a redirect in place?
Google’s site move guidance says to keep them as long as possible, generally at least one year. That guidance is written for site moves, so I treat it as a sensible minimum for product redirects too. Keep it longer if the old address still gets visits or links.
What if the replacement product is discontinued later?
Edit the original redirect so the old address points at the new final destination. Google’s site move guidance suggests ideally no more than three hops and fewer than five.
Is this the same decision as an out-of-stock product?
No. This post is for products that are gone for good. A temporary stock-out or a seasonal item that returns is a different problem, and the usual answer is to keep the page live and say when it is coming back.
Not sure which of your retired products are worth a redirect?
Sorting retired products by what each URL still earns is the kind of crawlability and indexation work that sits in the technical audit of our Shopify SEO service, and it is easy to get wrong by hand when you have hundreds of rows. If you want a second pair of eyes on yours, book a free 30-minute diagnostic or tell us about your store. We look at your store before we recommend anything, and we tell you honestly if SEO isn’t the right move. No pitch.
Free 30-min diagnostic
Seen enough?
Book a free diagnostic.
We'll look at your store's search pages, find what is costing you traffic and tell you what to fix first. No pitch. No email gate. 30 minutes.
More from Prism3
Afterpay vs Zip vs Shop Pay Instalments: Shopify AU
Afterpay, Zip and Shop Pay Instalments compared for Australian Shopify stores: merchant fees, payouts, approval, checkout placement and a worked margin example.
AI-Referred Orders on Shopify: What Is Real and What Is Hype
What Shopify has disclosed about AI-referred orders, why the 13x headline needs context, how to find AI traffic in GA4 and Shopify, and what to do now.
AI Visibility Tools for Shopify: What They Measure and Miss
What AI visibility tools for Shopify stores really count: mentions, share of voice and citations, where the data is sampled or unstable, and how to use them.