SEO

Out-of-Stock Handling

Also called out of stock pages, discontinued products

How an online shop treats product pages when an item runs out or is discontinued, so the page keeps its search value and still helps the customer.

Quick facts: Out-of-Stock Handling

Category
SEO
Also called
out of stock pages, discontinued products
Level
Intermediate
Affects
Product page rankings, backlinks, Merchant Center listings, conversion rate
Where to see it
Ecommerce platform settings, Google Search Console, Merchant Center diagnostics, a backlink tool
In this article4
  1. How out-of-stock handling works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

Out-of-stock handling is the set of decisions an online shop makes about a product page when the item runs out or is withdrawn for good. Done well, the page keeps its rankings and links, the customer still finds something useful, and Google gets an honest signal about availability.

How out-of-stock handling works

The right response depends on one question: is the product coming back?

Temporarily out of stock

Keep the page live and indexable, returning a normal 200 status. Say clearly that the item is out of stock, give an expected date if you have one, and offer a “notify me” option by email. Update the availability value in your product schema to OutOfStock, or to BackOrder or PreOrder if customers can still order. Show close alternatives near the top so the visit is not wasted.

Seasonal or recurring lines

Products that return every year, such as Christmas ranges, garden furniture or school uniform, should keep the same URL year after year. Each season adds to the page’s history and links. Deleting and recreating it each time throws that away.

Discontinued for good

If a direct successor exists, such as a newer model of the same item, use a 301 redirect to it. If there is no true replacement but the page has links or traffic, you can keep it live as an information page that explains the product is discontinued and points to the nearest alternatives. If it has no links, no traffic and no successor, let it return a 404 or 410.

Why it matters

Product pages often earn links from reviews, forums and comparison sites, and they rank for specific model searches that convert well. Removing a page every time stock runs out throws away that value and gives the searcher a dead end. For a UK retailer facing supply delays on imported goods, the difference between handling this well and badly can show up across hundreds of pages at once.

There is also a trust and compliance side. Showing a product as available when it is not wastes the customer’s time, and if you feed products into Google Merchant Center, the availability on your page and in your feed must agree or listings can be disapproved.

Common mistakes

  • Redirecting every discontinued product to the homepage. Google usually treats this as a soft 404, and the shopper lands somewhere irrelevant.
  • Hiding out-of-stock items in a way that removes the URL. Some platforms unpublish the page automatically. Check your settings before a busy season.
  • Noindexing temporarily unavailable pages. The page drops out of search and can take time to return once stock is back.
  • Leaving schema saying InStock. Structured data that contradicts the page is misleading and can cost rich results.
  • Burying the alternatives. A sold-out notice with nothing else on the page sends people back to the search results.

How to act on it

Write a short rule for each case: temporary, seasonal and permanent. Then check that your platform actually follows it. In Shopify, WooCommerce and Magento the default behaviour differs, and themes and apps can override it, so test with a real product rather than trusting the settings screen.

For permanent removals, export the product URLs with their backlinks and organic traffic before you delete anything. Pages with value get a redirect or stay as information pages; pages without it can go. Keep a list, so that when a customer or supplier mentions an old model, you know where it now points.

Finally, keep stock status, schema and your Merchant Center feed in sync automatically rather than by hand. If you want a review of how your shop currently treats sold-out and discontinued lines, it is a standard part of my ecommerce SEO service.

Do and do not

Do

  • Keep temporarily sold-out pages live with a clear notice and alternatives
  • Redirect discontinued products only to genuine replacements
  • Keep schema availability and the Merchant Center feed in sync with stock

Do not

  • Send every discontinued product to the homepage
  • Noindex products that will be back in stock
  • Create a new URL for a seasonal product each year

Questions people ask about this

Should out-of-stock products be noindexed?

Not if they are coming back. A noindexed page can drop out of search and take time to recover when stock returns. Keep the page indexable, mark it as out of stock and offer alternatives or a back-in-stock alert.

Is it better to redirect or 404 a discontinued product?

Redirect when there is a genuine replacement that the same shopper would want, such as the newer version of the same item. Return a 404 or 410 when there is no sensible alternative and the page has no backlinks or traffic worth keeping. Avoid sending everything to the homepage or a loosely related category, which Google may treat as a soft 404.

Do I need to change my product schema when an item sells out?

Yes. The availability property should match what the page says, so switch it to OutOfStock, BackOrder or PreOrder as appropriate. Most ecommerce platforms and SEO plugins update this automatically from stock levels, but check the output on a live sold-out product to be sure.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.