Out-of-stock and discontinued products: keep, redirect or remove
Temporarily unavailable products should almost always keep their pages. Discontinued ones need a decision based on links, traffic and whether a real replacement exists. The wrong default, in either direction, quietly costs rankings.

Every shop has products that sell out, products that are discontinued, and products that come back every season. How those pages are handled affects rankings more than most shop owners realise. Delete an out-of-stock product that will be back in three weeks and you throw away its rankings and links. Keep a discontinued product live for years with no stock and no alternative, and you build a site full of dead ends. The right answer depends on two questions: will it come back, and does the page have value without stock?
The decision table
| Situation | Recommended handling | Status code |
|---|---|---|
| Temporarily out of stock, returning soon | Keep the page; show expected date; offer notify-me; suggest alternatives | 200 |
| Seasonal product, returns next year | Keep the page year-round; update content and dates | 200 |
| Discontinued, direct successor exists | 301 redirect to the successor, or keep the page with a prominent link if it still gets searched by name | 301 or 200 |
| Discontinued, no successor, page has links or traffic | Keep as an informational page with alternatives, or 301 to the closest category | 200 or 301 |
| Discontinued, no successor, no links, no traffic | Remove | 404 or 410 |
| Product that was never really sold (test listing, duplicate) | Remove | 404 or 410 |
The data you need for the decision is in Search Console (clicks and impressions for the URL over the last 12 months), your backlink tool (referring domains to the URL) and your own sales history. A spreadsheet with those three columns for all discontinued products makes the decisions quick.
Temporarily out of stock: keep the page working
A product that will be back should keep its URL, its content and its place in the index. What changes is what the page offers the visitor in the meantime:
- Say clearly that it is out of stock, near the price, with an expected restock date if you know it.
- Offer a way to be notified when it returns. Back-in-stock emails convert well.
- Show alternatives: in-stock products in the same category, similar price and attributes. Pick them deliberately; random "recommended" blocks often show irrelevant items.
- Allow pre-orders or back-orders if your operations support them.
- Update the structured data:
"availability": "https://schema.org/OutOfStock"(orBackOrder,PreOrder). Keep the price if it is still valid.
Avoid removing out-of-stock products from internal navigation entirely. If a product disappears from every category page while out of stock, crawlers lose their path to it; it is fine to sort them to the end of the list.
Discontinued with a successor: redirect or bridge
When a product is replaced by a new model, a 301 redirect from the old URL to the new one passes most of its signals and sends visitors to something they can buy. That is the right choice in most cases.
The exception is when people still search for the old model by name, for example to find spare parts, manuals or compatible accessories. Then a bridge page works better than a redirect: keep the old page, mark it as discontinued, link prominently to the successor, and keep the information people are looking for (specifications, compatible parts, manuals). A redirect would send those searchers somewhere that does not answer their question.

Discontinued with no successor
This is where most mistakes happen. Two bad defaults are common:
- Redirecting everything to the home page. Google typically treats this as a soft 404, so the redirect passes little or no value, and users who clicked a link expecting a specific product land somewhere confusing.
- Keeping every discontinued product forever as a 200 page saying "no longer available" and nothing else. These are thin pages, likely to be classified as soft 404s, and they accumulate into thousands of dead ends.
Better options, depending on the page's value:
- Valuable page (links, traffic, still searched): keep it as an informational page. Explain that the product is discontinued, keep specifications and useful content, and link to the closest alternatives and the category. Mark availability as
Discontinued. - Some value (a few links, little traffic): 301 to the most relevant category page. Users land on similar products; link signals go somewhere sensible.
- No value: return 404 or 410 and remove internal links and sitemap entries. The HTTP status codes guide explains the difference between the two.
When only some variants are out of stock
Most products sell out one size or colour at a time. The page stays fully valid as long as some variants can be bought; what matters is that the page does not mislead anyone.
- Show availability per variant when the shopper selects it, and grey out unavailable sizes rather than hiding them, so people can see the full range and sign up for alerts on their size.
- Keep the overall availability in structured data accurate. If any variant is in stock, the product is generally
InStock. If you use variant-level markup, each variant's offer should carry its own availability. - Choose a sensible default variant. If the page loads with a sold-out colour pre-selected, visitors from search see "out of stock" first and leave, even though other colours are available.
- Watch the feed. Shopping listings come from your product feed, not the page. A feed that marks the whole product out of stock when one size sells out removes it from shopping results unnecessarily.
Seasonal products
Seasonal products and categories should keep the same URL year after year. A Christmas jumper page that is deleted every January and recreated in October starts from zero each time; one that stays live, marked as "available from October", carries its links and history into each season. The same applies to seasonal category pages: update the content and the products, never the URL.
Large catalogues: rules instead of decisions
For a shop with tens of thousands of products and constant churn, deciding one product at a time is not realistic. Write rules into the platform instead, for example:
- Out of stock and restock expected: keep, show alternatives, availability OutOfStock.
- Out of stock for more than 90 days with no restock date: move to "discontinued" handling.
- Discontinued with a successor field filled in: automatic 301 to the successor.
- Discontinued without successor, fewer than a threshold of clicks in the last year and no referring domains: 410 and removal from sitemap.
- Everything else discontinued: 301 to the primary category.
Make sure the rules also update the places that point to these pages: remove redirected and removed products from XML sitemaps, from internal "related products" blocks, and from the product feed in the same release. Review the thresholds once a year and spot-check the results. The rules will not be perfect, but they are far better than whatever happens by default.
Effects on category pages and crawling
Out-of-stock products clutter category pages and can push available products to page two or three. Sort unavailable items to the end, or hide them from category grids while keeping the product pages themselves live and linked from elsewhere, such as from the successor or related products. Categories that end up with no available products at all should either show a clear message with links to related categories or, if permanently empty, be removed or merged; empty listings are classic soft 404s. Large numbers of dead product URLs also waste crawling on big sites; see crawl budget.
Checking your setup
- Pick five out-of-stock products and check: page returns 200, availability text and structured data agree, alternatives shown.
- Pick five discontinued products and check what they return. Home-page redirects and bare "unavailable" pages need fixing.
- In Search Console's Page indexing report, look at "Soft 404" examples; product pages there are usually discontinued items with thin content.
- Check that the XML sitemap does not list products that return 404, 410 or redirects.
- Run the SEO checker on a discontinued product URL to confirm the status code and redirect target are what you intended.
Questions
Will an out-of-stock product page lose its rankings?
Not immediately. If the page stays live with useful content and correct availability markup, it usually keeps ranking. Over long periods, pages that never have stock may lose ground because users and search engines find them less useful.
Should I redirect discontinued products to the home page?
No. Google typically treats mass redirects to the home page as soft 404s. Redirect to a genuine replacement or the closest category, or return 404 or 410 if there is no relevant destination.
Should I noindex out-of-stock products?
For temporary stock-outs, no. You would have to wait for the page to be re-indexed when stock returns. For products that will never return and have no value, removing the page is cleaner than noindexing it.
How should availability be marked up?
In Product structured data, set offers.availability to OutOfStock, BackOrder, PreOrder or Discontinued as appropriate, and make sure the visible page says the same thing.
Keep reading

Product page SEO: descriptions, reviews, Product schema and variants
Product pages compete with every other shop selling the same item. They win on what only you can add: specific descriptions, real photos, r…

HTTP status codes for SEO: 404, 410, soft 404, 5xx and 429
The status code is the first thing a crawler reads, before any HTML. Getting it right decides whether a page is indexed, dropped, retried o…

HTTPS, www and redirect chains: getting one clean URL
Four versions of every domain exist by default. How to collapse them into one HTTPS URL with single-hop 301s, a complete certificate chain…