Free SEO audit for new clients — claim yours
Home/Blog/Ecommerce/Out-of-Stock and Discontinued Products: SEO Best…
Ecommerce

Out-of-Stock and Discontinued Products: SEO Best Practices

Out-of-Stock and Discontinued Products: SEO Best Practices
Table of contents
  1. Key Takeaways
  2. First, Classify the Product
  3. Temporarily Out of Stock: Keep the Page Working
    1. Keep structured data and feeds accurate
  4. Permanently Discontinued: Redirect, Archive or Remove
    1. Redirect when there is a clear successor
    2. Archive when the page still helps people
    3. Remove when there is nothing to keep
  5. What About Empty Categories?
  6. A Step-by-Step Process for Handling Unavailable Products
  7. Common Mistakes
  8. Related Guides
  9. Frequently Asked Questions
    1. Should I noindex out-of-stock product pages?
    2. Is it bad to have many out-of-stock products indexed?
    3. Should I use 404 or 410 for discontinued products?
    4. Where should I redirect a discontinued product?
    5. What availability value should I use for a sold-out limited edition?
  10. Conclusion
  11. References

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.

SituationRecommended approachHTTP statusStructured data availability
Temporarily out of stock, restock expectedKeep page live; show restock date or "notify me"; suggest alternatives200OutOfStock or BackOrder
Available to pre-orderKeep page live with expected ship date200PreOrder
Seasonal product returning next yearKeep page live; explain when it returns; link to in-season alternatives200OutOfStock
Discontinued, direct replacement exists301 redirect to the new model301n/a (destination page has its own)
Discontinued, no replacement, still searched for or linkedKeep as an archive page with specs, support info and alternatives200Discontinued
Discontinued, no replacement, no traffic or linksRemove the page404 or 410n/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 statusSchema.org availability (on-page)Merchant Center feed valueExtra requirement
In stockInStockin_stockNone
Out of stock, no dateOutOfStockout_of_stockNone
Can be ordered now, ships laterBackOrderbackorderavailability_date in the feed
Not yet released, can be orderedPreOrderpreorderavailability_date in the feed
Permanently discontinuedDiscontinuedRemove from the feedKeep 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

  1. Export all out-of-stock and discontinued products from your platform, with their URLs.
  2. Add SEO data: organic clicks and impressions from Search Console, revenue history and referring domains from a backlink tool.
  3. Classify each product using the framework table above.
  4. Update templates so out-of-stock pages automatically show status, restock dates, alerts and alternatives.
  5. Automate availability in structured data and your product feed from the same inventory source.
  6. Implement redirects for discontinued products with successors, and update internal links to point straight to the new URLs.
  7. Remove dead URLs from XML sitemaps and navigation.
  8. 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.

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

  1. Merchant listing (Product, Offer) structured data – Google Search Central
  2. Availability [availability] – Google Merchant Center Help
  3. Designing a URL structure for ecommerce sites – Google Search Central
  4. HTTP status codes and network errors – Google Search Central
  5. Share your product data with Google – Google Search Central
  6. A Deep Dive into SEO for Ecommerce Product Pages – Semrush Blog
Rohit Choudhary
Written byRohit ChoudharyCo-Founder, My SEO Experts

Rohit Choudhary is the co-founder of My SEO Experts and has more than 14 years of hands-on experience in SEO, paid advertising and digital marketing. Since starting out in 2011 he has helped hundreds of businesses grow through practical, data-driven search strategies, and he also serves as a consulting Digital Marketing Director for several US-based companies.

Keep reading

Related articles

Meta Description Templates for Large Sites
Ecommerce

Meta Description Templates for Large Sites

Hand-writing thousands of meta descriptions isn't realistic. Here is how to build templates from real page data that read naturally, avoid duplicates and leave room for hand-written copy on your best pages.

Ready to grow your business online?

Get a free, no-obligation proposal tailored to your goals and budget.

CallFree Quote