Every online store eventually faces the same question: a product page ranks well, earns links and brings in traffic, and then the product sells out or is discontinued. Delete the page and you throw away its rankings and backlinks. Leave it as it is and you frustrate visitors, risk soft 404s and may get products disapproved in Google Merchant Center.
There is no single right answer, because "out of stock until Thursday" and "never coming back" are very different situations. The right move depends on whether the product will return, whether a close replacement exists, and how much traffic and link value the page holds.
This guide gives you a clear decision framework for temporarily unavailable, seasonal and permanently discontinued products, explains how to keep structured data and product feeds accurate, and lists the mistakes that cost stores rankings and revenue in 2026.
Key Takeaways
- Temporarily out-of-stock products should usually stay live, indexable and returning a 200 status, with accurate availability shown to users and in structured data.
- Permanently discontinued products with a close replacement should be 301-redirected to that replacement or, failing that, to the most relevant category.
- Discontinued products with lasting search demand or valuable information can stay live as an archive page with clear alternatives.
- Pages with no value, no traffic and no replacement can return 404 or 410.
- Availability on the page, in Product structured data and in your Merchant Center feed must match, or products can be disapproved.
First, Classify the Product
Before touching a page, decide which situation you are in. The table below is the framework we use with clients.
| Situation | Recommended approach | HTTP status | Structured data availability |
|---|---|---|---|
| Temporarily out of stock, restock expected | Keep page live; show restock date or "notify me"; suggest alternatives | 200 | OutOfStock or BackOrder |
| Available to pre-order | Keep page live with expected ship date | 200 | PreOrder |
| Seasonal product returning next year | Keep page live; explain when it returns; link to in-season alternatives | 200 | OutOfStock |
| Discontinued, direct replacement exists | 301 redirect to the new model | 301 | n/a (destination page has its own) |
| Discontinued, no replacement, still searched for or linked | Keep as an archive page with specs, support info and alternatives | 200 | Discontinued |
| Discontinued, no replacement, no traffic or links | Remove the page | 404 or 410 | n/a |
Temporarily Out of Stock: Keep the Page Working
A product that will be back next week is still the best page to rank for its name. Removing it means losing rankings you will want again shortly. Instead, make the page useful while the product is unavailable:
- State clearly that it is out of stock, near the price and buy button, not in small print.
- Show an expected restock or ship date if you know it.
- Offer a back-in-stock email alert or allow backorders.
- Show in-stock alternatives (same brand, similar spec, similar price) high on the page.
- Keep the main content (description, images, reviews, specifications) in place, so the page does not look empty.
That last point matters because Google can treat pages that look empty or like an error as soft 404s. Google's documentation explains that when a page returns 200 but its content suggests an error, such as an empty page or an error message, Search Console shows a soft 404. A product page reduced to "This item is unavailable" is at risk; a full product page with an availability notice is not. See our guide to soft 404 errors for more.
Keep structured data and feeds accurate
Google's merchant listing documentation supports a set of schema.org availability values on the Offer, including InStock, OutOfStock, BackOrder, PreOrder, PreSale, SoldOut, LimitedAvailability, InStoreOnly, OnlineOnly and Discontinued. Use exactly one value and update it automatically when stock changes. Our guide to merchant listings and Product schema covers the full markup.
| Real-world status | Schema.org availability (on-page) | Merchant Center feed value | Extra requirement |
|---|---|---|---|
| In stock | InStock | in_stock | None |
| Out of stock, no date | OutOfStock | out_of_stock | None |
| Can be ordered now, ships later | BackOrder | backorder | availability_date in the feed |
| Not yet released, can be ordered | PreOrder | preorder | availability_date in the feed |
| Permanently discontinued | Discontinued | Remove from the feed | Keep the page only if it still helps users |
"offers": {
"@type": "Offer",
"price": "89.00",
"priceCurrency": "GBP",
"availability": "https://schema.org/BackOrder"
}
If you list products in Google Merchant Center, the feed's availability attribute (in_stock, out_of_stock, preorder or backorder) must also match the landing page. For preorder and backorder, Merchant Center requires an availability_date. Google is blunt about mismatches:
“A mismatch in one of these will trigger a product disapproval.”
— Google Merchant Center Help, Availability [availability]
Google also notes that its copy of your data can lag behind your website and suggests enabling automatic item updates to reduce conflicts in price and availability. See our guides to Google Merchant Center and free product listings.
Permanently Discontinued: Redirect, Archive or Remove
Redirect when there is a clear successor
If "Trail Runner 4" replaces "Trail Runner 3", a 301 redirect sends visitors and most link signals to the new model. Redirect only to a genuinely equivalent page. Redirecting many unrelated products to the homepage is a poor experience, and Google may treat such redirects as soft 404s. If no direct replacement exists but a tightly matching category does, that category is the next-best destination. Our 301 vs 302 redirects guide explains which code to use.
Archive when the page still helps people
Some discontinued products keep attracting searches from owners looking for manuals, spare parts, compatibility or reviews. Keeping the page live as an archive (with a clear "discontinued" message, the original specifications, support links and recommended alternatives) serves those visitors, retains links and can still drive sales of accessories or successors. Mark it with Discontinued availability and remove it from shopping feeds.
Remove when there is nothing to keep
If a product never ranked, has no backlinks, receives no traffic and has no sensible alternative, return a 404 or 410 and remove internal links and sitemap entries. Google's documentation treats all 4xx errors (other than 429) the same way: the URL is dropped from the index. Our guide to fixing 404 errors covers clean-up.
What About Empty Categories?
Categories can empty out too, especially seasonal ones. Google's ecommerce URL guidance says that if a category has no items, use a noindex robots meta tag, and that if your platform automatically removes empty categories from browsing and search, returning a 404 is appropriate. For seasonal categories that will refill, many stores keep the page live with editorial content and links to related categories, so its rankings are ready when stock returns. Our guide to ecommerce site structure explains how categories fit together.
A Step-by-Step Process for Handling Unavailable Products
- Export all out-of-stock and discontinued products from your platform, with their URLs.
- Add SEO data: organic clicks and impressions from Search Console, revenue history and referring domains from a backlink tool.
- Classify each product using the framework table above.
- Update templates so out-of-stock pages automatically show status, restock dates, alerts and alternatives.
- Automate availability in structured data and your product feed from the same inventory source.
- Implement redirects for discontinued products with successors, and update internal links to point straight to the new URLs.
- Remove dead URLs from XML sitemaps and navigation.
- Monitor the Page indexing report for soft 404s and Merchant Center diagnostics for availability mismatches.
Common Mistakes
- Deleting temporarily unavailable products and losing rankings you will need again in weeks.
- Hiding out-of-stock products from category pages so they lose internal links and become orphans.
- Redirecting everything to the homepage. Irrelevant redirects frustrate users and may be treated as soft 404s.
- Leaving structured data saying InStock after stock runs out, causing mismatches and feed disapprovals.
- Stripping content from unavailable pages, making them look empty.
- Noindexing out-of-stock products by default. This removes pages that may be back in stock tomorrow.
For more on making product pages strong in every state, see our product page SEO guide, our guide to product reviews and SEO (reviews are worth keeping on archived pages) and our ecommerce SEO checklist.
Related Guides
- Product Reviews and SEO: Get More Value From Reviews
- How to Write Product Descriptions That Sell and Rank
- Ecommerce Marketing Strategy: A Complete Guide
Frequently Asked Questions
Should I noindex out-of-stock product pages?
Usually not. If the product is coming back, keep the page indexable with a 200 status and clear availability information, plus alternatives. Noindexing risks losing rankings you will want again soon.
Is it bad to have many out-of-stock products indexed?
Not if the pages are genuinely useful, with accurate availability, full product information and alternatives. Problems arise when pages look empty or when availability data is wrong.
Should I use 404 or 410 for discontinued products?
Google treats 4xx errors similarly for indexing purposes. Use either for products with no value to keep, and remove them from sitemaps and internal links.
Where should I redirect a discontinued product?
To the closest equivalent: a direct successor model first, then a tightly relevant category. Avoid redirecting unrelated products to the homepage.
What availability value should I use for a sold-out limited edition?
If it will never return, Discontinued or SoldOut describes it accurately. If more stock is expected, use OutOfStock or BackOrder and show the expected date.
Conclusion
Out-of-stock and discontinued products are inevitable, but lost rankings are not. Keep temporarily unavailable pages live and useful, redirect discontinued products to true successors, archive pages that still help people, and remove only what has no value. Above all, keep availability consistent across the page, structured data and your product feed.
Need help building rules like these into your store's templates? Our ecommerce SEO services cover inventory-aware SEO, structured data and feed management. Get a free quote.
References
- Merchant listing (Product, Offer) structured data – Google Search Central
- Availability [availability] – Google Merchant Center Help
- Designing a URL structure for ecommerce sites – Google Search Central
- HTTP status codes and network errors – Google Search Central
- Share your product data with Google – Google Search Central
- A Deep Dive into SEO for Ecommerce Product Pages – Semrush Blog




