Sign in Start free

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.

CATEGORY
Ecommerce SEO
FORMAT
out-of-stock-and-discontinued.md
STEPS
6
PRICE
Free - no account
WHEN TO REACH FOR THIS

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.

The skill file

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

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. 01 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. 02 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. 03 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. 04 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. 05 Only 410 products with no links, no traffic, and no replacement - the 410 removes them faster than a 404 and stops repeat crawling.
  6. 06 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

Use this skill in your own AI

The download is a plain markdown file with the name and trigger in its frontmatter. Where an assistant supports skills it can load itself, that frontmatter is what it reads to decide this one applies.

Claude Code Save it as ~/.claude/skills/out-of-stock-and-discontinued/SKILL.md and Claude loads it on its own when what you are doing matches the trigger line. Put it in .claude/skills inside a project instead if the whole team should have it.
Claude Upload the file in the skills section of your settings. Once it is there it applies itself in any conversation where the trigger fits, so you do not have to remember it exists.
ChatGPT There is no skills format to install into, so paste the file contents into a Project instruction or a Custom GPT instead. It then applies to every chat in that project rather than only the one you paste it into.
Anything else Paste the markdown into the chat before your question. It works in any assistant, it just has to be pasted again each time.

Questions about this skill

When is this the right method rather than 404ing the URL?

When stock goes and someone is about to 404 the page or redirect it to the parent category. Both reflexes discard URLs that may hold years of links and rankings. This method separates two questions the reflex merges: whether the item is coming back, and whether the URL has earned anything measurable. Those get different answers and different treatment.

What do I need before deciding what happens to a dead product URL?

A stock feed carrying a returning to stock flag, twelve months of organic sessions and referring domains per product URL, and a mapping of each dead product to its nearest genuine replacement. Without the link and traffic data every decision defaults to delete and you retire URLs that were quietly earning. Without the replacement map redirects end up pointed at categories.

What does the decision rule produce, and which part ships?

A decision rule per stock state plus a redirect map for the discontinued SKUs that hold measurable search signal. The map is what ships this quarter, but the rule is what stops the problem recurring, because it tells merchandisers what happens to a URL before they retire a product rather than after someone notices the traffic gone.

What ruins this most often?

Bulk redirecting every discontinued product to its category page. The destination does not answer the query, so it is treated as a soft 404 and dropped, and you lose the links along with the ranking. Where no genuine replacement exists, keep the URL live at 200, mark it clearly discontinued and list alternatives on the page.

More in Ecommerce SEO