Skip to content

Category pages

Out-of-stock products and SEO: protecting your category traffic

Temporary stockout, discontinued product, category emptying out: what to do with the pages concerned so you lose neither acquired rankings nor visitor trust. The decision, case by case.

In short

  • A temporary stockout does not justify deleting the page: keep it, clearly indicate availability and offer alternatives.
  • A permanently discontinued product should be redirected to its replacement or its category, if it had traffic or links.
  • A category or facet that empties out poses another problem: a page without products should return a 404 or leave the index.
  • Unavailable products at the top of a category list degrade the experience and conversion.

Stockouts are part of life for an e-commerce site: late replenishment, end of line, discontinued product. The temptation is to delete or hide the pages concerned. That is often a mistake, because these pages sometimes took months to earn their rankings.

Temporary stockout: keep the page

If the product is to return to stock, keep the page live and indexed:

  • clearly indicate unavailability, including in structured data (availability attribute);
  • display a restock date if you know it, and a back-in-stock alert form;
  • offer close alternative products, so you do not lose the visitor.

The page keeps its rankings, and recovers its full potential when the product returns.

Discontinued product: redirect or remove

Situation Decision
A replacement product exists 301 redirect to the replacement
No replacement, but the page had traffic or links 301 redirect to the closest category
Neither traffic nor links 404 or 410 error
Iconic, highly searched product Keep the page with a clear message and alternatives

Avoid redirecting all discontinued products to the home page: the visitor does not find what they were looking for, and Google may consider these redirects as errors.

The case of categories and facets

The problem is different for listing pages:

  • A category with some products out of stock: place available products first in the default sort. Unavailable products at the top of the list degrade the experience and conversion.
  • A facet that empties out ("sage green linen fitted sheets", no products left): Google recommends returning a 404 error for filter combinations with no results, rather than an empty page.
  • A category reduced to one or two products: consider merging it with a neighboring category. See our guide to zombie pages.

Copy that stays true

One last point, often forgotten: a category's copy must not advertise products or ranges that are no longer in stock. This is one of unblind's checks: every claim about the merchant's offer (brands, ranges, products) is compared against the page's real content at the time of analysis, and mentions of temporary collections or promotions are removed so the copy stays valid over time. Running a new analysis after a major catalog change updates the copy.

Frequently asked questions

Should an out-of-stock product page be deindexed?

Not if the stockout is temporary. Keep the page indexed, with clearly indicated availability (including in structured data), a restock date if you know it, and alternative products. This way you keep its rankings for when the product returns.

What should be done with a permanently discontinued product?

If it had traffic or links, redirect it with a 301 to the closest replacement product, or failing that to its category. If it had neither traffic nor links, it can simply return a 404 or 410 error.

Sources

  1. Google Search Central, Product structured data (availability)
  2. Google Search Central, Managing crawling of faceted navigation URLs (2024)

François-Olivier Hoizey

E-commerce & AI Director at Fremaux Delorme (Yves Delorme, Laurence Tavernier, Olivier Desforges), publisher of high-traffic websites since 2006 and founder of unblind.ai. He contributes his expertise to the guides published by the unblind editorial team.