Skip to content
Free SEO Audit

SEO

Out-of-Stock and Discontinued Products: Correct SEO Handling

Keep live, redirect, or return a 410: the decision tree for handling out-of-stock and discontinued product pages without losing rankings.

Decision tree for out-of-stock product pages: keep live, redirect, or return a 410 status

Decision tree for out-of-stock product pages: keep live, redirect, or return a 410 status

The correct SEO handling for an out-of-stock product depends on whether it’s coming back. If restock is likely — a seasonal item, a temporary supply gap — keep the page live, update the availability schema to reflect the real status, and pull it from primary navigation and the XML sitemap so it doesn’t compete for crawl budget while it’s dead weight. If the product is permanently discontinued, redirect it to the closest live replacement if one exists, or return a 410 status if nothing replaces it and the page has no meaningful backlinks or traffic left. What you should almost never do is leave a “sold out” page returning a normal 200 status with no path forward — that’s the version that actually damages rankings, because Google reads it as a thin, low-value page rather than a legitimate temporary state.

Key takeaway

  • Temporary out-of-stock: keep the URL live and indexed, update schema, pull from navigation and the sitemap until restocked.
  • Permanently discontinued with a close replacement: 301 redirect to the replacement product, not the category page, wherever a genuinely similar item exists.
  • Permanently discontinued with no replacement and no remaining traffic or backlinks: return a 410 status for the cleanest, fastest deindexing signal.
  • The one pattern to avoid at all costs is a “soft 404” — a 200-status page with an empty “out of stock” message and nothing else, which Google treats as thin content.

Why “just leave it up” is usually the wrong default

The instinct to keep every out-of-stock page live and unchanged, on the theory that deleting it loses accumulated SEO value, is only half right. A page that keeps its URL, its title, and its structured data but just swaps in “currently unavailable” with no other content is exactly the pattern search engines flag as a soft 404 — a page technically returning success but functionally empty. That combination is worse for the site’s overall quality signal than either fixing the page properly or removing it outright. The fix isn’t complicated, but it does require treating out-of-stock status as a real content state rather than an afterthought bolted onto the same template.

Temporary stock-outs: keep the page, change how it’s discovered

For products expected back — seasonal apparel between seasons, an ingredient waiting on a supplier, a popular item mid-restock — the URL has earned rankings and internal signal that disappear if you delete or noindex it, then have to be rebuilt from zero when the product returns. Keep the page live, update the Product schema’s availability field to OutOfStock so the markup stays accurate, and add a visible “notify me when back in stock” option if your platform supports it — this keeps the page useful rather than dead. What should change is discoverability: pull the product from primary category navigation and internal “related products” modules, and drop it from the XML sitemap while it’s out. This keeps Google from repeatedly re-crawling a page it can’t currently sell against, without losing the URL’s history.

Permanently discontinued: redirect or remove, based on what’s left

Once a product is genuinely gone for good, the decision is really about what the page has left to lose. If there’s a direct or close replacement — a newer model, the same item in an updated formulation — a 301 redirect to that replacement passes the bulk of the accumulated link equity and keeps the URL’s history working for the site instead of against it. This is the right call whenever a real substitute exists, even if it’s not a perfect match; a reasonably close redirect target beats a dead end. If nothing replaces the product and the page has picked up meaningful backlinks or still gets organic traffic, redirecting to the parent category page is the fallback rather than letting the URL 404.

ScenarioRecommended handlingWhy
Temporary stock-out, restock expectedKeep live, update schema availability, remove from nav and sitemapPreserves accumulated rankings without wasting crawl budget on a dead-end page
Discontinued, close replacement exists301 redirect to the replacement productPasses link equity forward and gives visitors somewhere useful to land
Discontinued, no replacement, has backlinks/traffic301 redirect to the parent categoryBetter than a dead end; keeps the URL’s authority flowing into the site
Discontinued, no replacement, no backlinks or traffic410 Gone statusSends the clearest, fastest signal for deindexing when there’s nothing left to preserve
Page still live with “sold out” message, 200 statusAvoid as a long-term stateReads as a soft 404 — thin, low-value content that can drag down site quality signals

410 versus a redirect: how to actually decide

The 410 status code communicates “this is gone on purpose,” which search engines generally act on faster than a plain 404, which can read as “this might be a temporary error, we’ll keep checking.” Use 410 specifically for products with no meaningful history to protect — no inbound links worth preserving, no meaningful organic traffic in the last several months, and no reasonable replacement to send visitors to instead. If any of those conditions aren’t true, a redirect is the safer, more conservative choice: it costs almost nothing to implement and protects value a 410 would simply discard.

There’s a middle case worth naming separately: a discontinued product with a modest amount of residual traffic but genuinely no relevant replacement anywhere in the catalog. Redirecting that URL to an unrelated product just to preserve the redirect chain does more harm than good — Google can detect a redirect to irrelevant content and may choose not to pass much value through it at all, and the visitor experience is worse than a clean removal. In that specific case, a 410 paired with a clear “this product has been discontinued” message on a lightweight fallback page (rather than a hard dead end) tends to serve both users and rankings better than a forced, irrelevant redirect.

“Gone” beats “not found”

A 410 status code sends a stronger, more deliberate signal than a plain 404 — it tells crawlers the removal was intentional, which typically leads to faster deindexing of a URL that has no remaining SEO value to protect.

Source — HTTP status code semantics as applied in current ecommerce SEO practice

A decision checklist you can actually apply

  1. Is this product coming back within a reasonable window (weeks to a season)? If yes, keep the page live and update schema — stop here.
  2. If it’s permanently gone, does a close or reasonable substitute exist in the current catalog? If yes, 301 redirect to it.
  3. If no substitute exists, check Search Console and your backlink data — is the page still earning organic clicks or holding meaningful referring domains?
  4. If yes to either, 301 redirect to the parent category rather than letting the URL die.
  5. If no to both, return a 410 status and let the URL leave the index cleanly.

Where this connects to broader catalog SEO

Out-of-stock handling doesn’t happen in isolation — it interacts directly with how the rest of your product page SEO is structured. A product that’s been pulled from navigation still needs a clean path back in once it restocks, which means the internal linking discipline covering live products applies here too, just with a pause button. And if a discontinued product is being replaced by a genuinely new variant rather than an identical restock, the decision about whether that variant gets its own URL or folds into the existing one is worth reading alongside our piece on product variants and URL structure before you commit to a redirect target.

Frequently asked questions

Should I noindex out-of-stock product pages?

Generally no, for temporary stock-outs — noindexing loses the page’s accumulated ranking signal, which then has to be rebuilt from scratch once restocked. Removing the page from navigation and the sitemap achieves the crawl-budget benefit without that cost.

What’s a soft 404 and why does it matter here?

A soft 404 is a page that returns a normal 200 success status but is functionally empty — like a “currently unavailable” message with no other content. Search engines treat it as low-quality, thin content, which can drag down quality signals for the wider site if it happens across many product pages at once.

Does a 301 redirect pass all the SEO value from a discontinued product?

It passes the large majority of accumulated link equity when the redirect target is genuinely relevant, but not necessarily all of it, and rankings for the new URL typically take some time to stabilise. It’s still almost always better than a 404 or an unhandled dead page.

When is a 410 better than a 301 redirect?

When the discontinued product has no meaningful backlinks or organic traffic left and no reasonable replacement exists to redirect to. In that case, a 410 sends the cleanest signal that the removal is intentional and leads to faster deindexing than leaving a dead-end page live.

Should seasonal products be deleted every off-season?

No. Deleting and recreating seasonal product pages every year throws away the ranking history each URL has built up. Keep the URL live, remove it from active navigation and the sitemap during the off-season, and restore both when the product returns to stock.

How long should a product stay “out of stock” before it’s treated as discontinued?

There’s no universal cutoff — it depends on the category and your supplier’s own restock cadence. As a working rule, if a supplier can’t give a credible restock date and the gap has run past a full sales cycle for that product type, treat it as discontinued and move to the redirect-or-410 decision rather than leaving it in limbo indefinitely.

The bottom line

Out-of-stock handling isn’t one rule — it’s a decision tree based on whether the product is coming back, whether a replacement exists, and whether the page has anything left worth preserving. Get the decision tree right and you protect rankings you’ve already earned instead of quietly bleeding them through soft 404s across the catalog. This sits inside the broader ecommerce SEO guide, which covers how catalog-wide technical decisions like this one compound across a growing store.

Running an audit of stale, discontinued, or mishandled product URLs? See our ecommerce SEO plans.

Get the audit.
Keep the findings.

Free, no payment details, yours to act on either way.

Get Your Free SEO Audit WhatsApp Us

What you get back

A 12-point audit of your actual site: technical issues blocking indexation, on-page gaps, speed findings, and the three to five fixes we’d make first.

  • 2 daysDelivery
  • 225Checks run
  • ₹0Cost, always