The reflex is to 404 or redirect discontinued products immediately, which throws away pages that may have years of links and rankings. The opposite reflex - keeping every dead product live forever - fills the index with pages that cannot convert. The right answer depends on whether the item is coming back and whether the URL has earned anything, and those are two separate checks.
out-of-stock-and-discontinued.md
---
name: out-of-stock-and-discontinued
description: Use when products go out of stock or get discontinued and you need to decide what happens to the URL without losing the rankings it holds.
---
# Out Of Stock And Discontinued Products
The reflex is to 404 or redirect discontinued products immediately, which throws away pages that may have years of links and rankings. The opposite reflex - keeping every dead product live forever - fills the index with pages that cannot convert. The right answer depends on whether the item is coming back and whether the URL has earned anything, and those are two separate checks.
## What you need first
- stock status feed with a returning-to-stock flag
- organic landing page data and referring domains per product URL
- a mapping of each product to its nearest live replacement
## Method
1. For temporarily out of stock, keep the page live and indexable, keep the schema availability set to OutOfStock, and add a back-in-stock notification field. Removing the page for a two week stock gap costs more than the gap does.
2. For discontinued items, check organic sessions and referring domains over the last 12 months before deciding. Anything with links or steady traffic is a redirect candidate, not a delete candidate.
3. Redirect discontinued products with earned signal to the nearest genuine replacement product, not to the parent category. Category redirects get treated as soft 404s because the destination does not match the intent.
4. Where no genuine replacement exists, keep the URL live, return 200, mark it clearly as discontinued, and list alternatives on the page. This preserves the link equity and converts some of the traffic.
5. Only 410 products with no links, no traffic, and no replacement - the 410 removes them faster than a 404 and stops repeat crawling.
6. Set schema availability accurately at all times. Merchant listings surface stock state, and a page claiming InStock while showing sold out earns a manual action.
## What this produces
A stock-state decision rule with a redirect map for discontinued SKUs that hold measurable search signal.
## Where this goes wrong
- bulk-redirecting all discontinued products to their category page, which Google treats as a soft 404 and drops
- deleting seasonal products that return every year, then rebuilding the URL from scratch and losing the accumulated history
- leaving availability schema stale so listings advertise stock you do not have
---
From the QuQi skill library - https://www.quqi.io/skills/out-of-stock-and-discontinued
Free to download · no account, no email
A stock-state decision rule with a redirect map for discontinued SKUs that hold measurable search signal.