Handling discontinued products on Shopify
A supplier stops making something. The product sold well, people still search for it by name, and it has a few backlinks from blogs that reviewed it. Someone in the team tidies up the catalogue and deletes it.
Now every one of those searches, links and bookmarks lands on a 404 page. The traffic that page earned over a year or two disappears, and nobody notices for a month because nothing looks broken.
Discontinued products are a normal part of running a store. Handling them well is mostly about making one decision per product, on purpose, instead of letting the delete button make it for you.
I covered temporary stock problems in out-of-stock products: keep, redirect or remove?. This post is about the products that won’t be coming back.
The short answer
For each discontinued product, pick one:
- Redirect it to the closest replacement product, or to the most relevant collection. This is the right choice most of the time.
- Keep the page live as a “no longer available” page, when it still gets meaningful traffic, links or support searches, and there’s no obvious replacement.
- Let it go (archive or delete with no redirect) when the page never had traffic or links and there’s nothing relevant to send people to.
The rest of this post is how to decide, and how to do each one on Shopify.
Step 1: check what the page has earned
Before touching the product, look at three things:
- Search Console: filter the Performance report by the product URL. Does it get clicks or impressions? For which queries?
- GA4: does it get visits from any source, and do those visitors buy anything else?
- Backlinks: if you use Ahrefs or a similar tool, check whether other sites link to it. Search Console’s Links report shows some of this too.
A product with no clicks, no visits and no links can go quietly. A product with any of those is worth a redirect or a page.
Step 2: choose the destination
A direct replacement exists
The best case. The new model, the updated version, the same thing from a different supplier. Redirect the old URL to the new product, and mention on the new product page that it replaces the old one. Someone searching for the old model name will often find that reassuring.
No direct replacement, but a close category
Redirect to the collection that the product belonged to, ideally a specific one (“waterproof hiking boots”) rather than a broad one (“shoes”). The more specific, the more useful it is to the visitor and the more likely Google is to treat it as a sensible redirect rather than a soft 404.
Nothing relevant at all
Don’t redirect everything to the homepage. Google tends to treat irrelevant redirects like that as soft 404s anyway, and visitors find it confusing. If there’s truly nothing related, a 404 is the honest answer. Make sure your 404 page has search and links to your main collections so people can carry on.
Step 3: do it on Shopify
Redirecting
Shopify only lets you create a redirect from a URL that doesn’t exist any more. So the order matters:
- Note the old product URL, for example
/products/trail-runner-v1. - Archive or delete the product. Archiving keeps the product data in your admin, which is useful for records and reporting. Either way, the URL stops working.
- Add the redirect in the admin’s URL redirects section (under Online Store → Navigation → URL Redirects): from
/products/trail-runner-v1to the new destination. - Test it in a private browser window.
For lots of products, the URL redirects screen lets you import a CSV with two columns: old path and new path. That’s the sensible route for a range change.
Keeping the page live
If you keep a discontinued product page:
- keep it published, but make it clear at the top that the product is discontinued
- remove the buy button, or hide it with your theme’s sold-out settings, so nobody gets frustrated at checkout
- link prominently to the replacement or the closest collection
- keep the useful content (specifications, manuals, care instructions), because that’s often why people still visit
This works well for products with an active base of existing owners who search for parts, sizes or instructions.
Remember the structured data. If the product schema still says the item is in stock, update the availability. Many themes switch it automatically when inventory hits zero, but check with the Rich Results Test.
Letting it go
Archive the product. The URL will return a 404, which is fine for a page that never had any search value. Google will drop it from the index in time.
The things that trip people up
Internal links
Redirects catch visitors, but your own site shouldn’t rely on them. After discontinuing products, check:
- collection pages and menus that featured the product
- blog posts and buying guides that linked to it
- “related products” or upsell apps that still recommend it
Update those links to point straight to the new destination. Fewer redirects to follow is better for visitors and for crawling.
Redirect chains
If product A was redirected to product B, and now B is discontinued too, don’t add a redirect from B to C and leave A pointing at B. Update A to point straight at C. Chains build up quietly in stores with fast-moving ranges. I wrote about why they matter in redirects on WordPress: 301, 302 and the mistakes I keep seeing. The platform’s different but the principle’s identical.
Google Merchant Center and ads
If the product was in your Shopify Google channel feed, archiving it removes it from the feed. Check Merchant Center after a big range change to make sure nothing is stuck with errors, and that ads aren’t still pointing at an old URL.
Variants that disappear
If only one colour or size is discontinued, you don’t need a redirect at all. Remove the variant. The product URL stays the same. Variant URLs with ?variant= point back to the main product through the canonical tag, so there’s nothing to clean up in search.
Make it a process, not a rescue
The stores that handle this well have a short rule written down:
- Before archiving any product, check Search Console and backlinks.
- Decide: replacement redirect, collection redirect, keep the page, or let it go.
- Add redirects in bulk when a range changes.
- Update internal links.
- Note what you did and when.
That’s five minutes per product, and it saves traffic you’d otherwise lose without noticing.
Related reading
- Out-of-stock products: keep, redirect or remove?
- Shopify URL structure: what you can and can’t change
- Redirects on WordPress: 301, 302 and the mistakes I keep seeing
- Internal linking for online stores
Open your Shopify admin, filter products by “Archived”, and spot-check three of them. Do their old URLs redirect somewhere useful, or straight to a 404?