We will tell you the truth.
Even when it costs us the account.
← Home / / 6 min read / Glossary

What Is Out-of-Stock Page Handling?

Out-of-stock page handling is the set of decisions you make about a product URL when the item cannot currently be bought. It is not a delete-or-keep binary.

Out-of-stock page handling is the set of decisions you make about a product URL when the item cannot currently be bought. It is not a delete-or-keep binary. Temporarily unavailable, permanently discontinued, and superseded by a newer model are three different situations, and each one has a different correct answer.

Why unavailable products need a policy

A product URL that has ranked for two years carries things you cannot buy back quickly. It holds external links, internal link weight, and a settled position in Google’s index. Unpublish it and all three go at once. The replacement URL starts from nothing.

Retail catalogues churn constantly, so this is not a rare edge case. If your default reaction to a sold-out line is to pull the page, you demolish the working parts of your own site every season. Google’s guidance on pausing an online business is blunt about the mechanics: do not block content by returning 403, 404 or 410 status codes, because those responses remove the URLs from Search. The cost lands later, as a recovery project. Work out what rebuilding that visibility costs and compare it with the ten minutes it takes to change an availability flag.

What Google does with an unavailable product page

Google does not have a special rule for retail. It reads the status code, the page content, and the structured data, then decides whether the URL still deserves a place in the index. Six mechanics decide the outcome.

  1. The status code sets the ceiling. A 404 or a 410 removes the URL from Search. Both do the same job; 410 simply states that the removal is deliberate. Nothing about the old URL’s history moves anywhere else.
  2. A thin 200 becomes a soft 404. Keeping the URL alive is not enough. If the page returns 200 but shows little beyond an unavailability notice, Google can classify it as a soft 404 and drop it anyway. The page still has to be worth landing on.
  3. A redirect moves the history, if the target is genuinely equivalent. Where a true replacement product exists, send the old URL permanently onward to that product. Redirecting to a category page or the homepage instead is treated as a soft 404, because the destination does not answer the request.
  4. Structured data carries the state. The availability property accepts InStock, OutOfStock, BackOrder, PreOrder, SoldOut and Discontinued, among others. Google reads it, so it has to agree with what a shopper sees on the page.
  5. Internal links control rediscovery. Strip a product out of its category listings and the XML sitemap and the URL stops being found, even though it answers with a 200. Crawl frequency follows links, not intentions.
  6. Variants are handled below page level. One sold-out size inside a product group is not an out-of-stock page. It is a variant state, and pulling the parent URL over it is a category error with a permanent cost.

Matching the response to the situation

SituationCorrect response
Temporarily out of stock, restock expectedKeep the URL, keep it in the sitemap, mark availability OutOfStock or BackOrder
Seasonal line returning next yearKeep the page and its content, state when it returns, keep the internal links live
Discontinued, direct successor existsPermanent redirect to the successor product, never to the category
Discontinued, no successorKeep the page, mark it Discontinued, link to the nearest alternatives
One size or colour sold outNo URL-level action; handle it in the variant markup
URL published in error, never ranked410, and remove the internal links pointing at it

The blunt version

Deleting the page is the cheapest action today and the most expensive one over two years. Keep the URL, change the status. That is the whole rule, and it survives almost every case a large catalogue produces.

The reason it gets ignored is that nobody owns the loss. A ranking product URL is an asset your finance system does not record, so when a nightly feed job unpublishes every zero-stock line, no report shows a write-off. The traffic falls slowly, across hundreds of URLs, in a pattern that looks like seasonality. Rebuilding those positions then arrives as new work, scoped and quoted, and it is charged as growth rather than as repair.

Sit with that incentive for a moment. An agency paid to grow organic revenue does better, not worse, from a catalogue that keeps destroying its own history. Nobody has to act in bad faith for this to happen; it is enough that no one is asked to explain it. This is one of the commonest causes of a decline nobody can account for, and it is invisible in any report that tracks only live URLs. Ask for the count of product URLs that returned 404 in the last quarter. If nobody can produce that number, the policy you think you have does not exist.

Example

Say a homewares retailer with 12,000 SKUs runs a nightly job that unpublishes any product with zero stock. Suppliers are slow over winter, so a run of kitchenware URLs drops out in November and comes back in February under new IDs. Organic revenue falls through the quarter and recovers a little afterwards, which everyone reads as seasonal. It is not. The February URLs are new pages with no history, competing against the ones that were deleted. The fix costs a developer half a day: stop the unpublish rule, return 200 with an out-of-stock notice, keep the URL and the availability markup in step. Nothing else about the site changes.

FAQ

Should I delete a product page when the item is discontinued?

Only if the page never earned anything. If it holds links or rankings, keep the URL, mark the product Discontinued, and point shoppers to the closest alternatives on the same page. Where a genuine successor product exists, redirect to that product instead. Deleting is the right call for URLs published in error.

Can I redirect an out-of-stock product to its category page?

You can, and Google will usually treat it as a soft 404. A category page does not answer the request the visitor made, so the redirect fails the relevance test that makes redirects work. Redirect only to a genuine equivalent. If no equivalent exists, keep the product page and link outward from it.

How long should an unavailable product URL stay live?

As long as it earns traffic, links or internal navigation value. There is no expiry rule in Google’s documentation, and no penalty for a permanently unavailable product that is honestly labelled. Review the set once a year, redirect the ones with true successors, and keep the rest as informational pages.

Related terms

  • 301 redirect — the mechanism that moves a discontinued product’s history to its successor.
  • Staging Site Indexing — the mirror problem, where URLs you never wanted in the index end up there.
  • Reconsideration Request — what you file for a manual penalty, and what a self-inflicted traffic loss is not.

If your platform deletes product URLs automatically when stock hits zero, that setting is costing you more than any content you could buy this year. Turn it off before you commission anything else.

Still here

Want this run on your actual traffic drop?

Send the domain and what you have been told. You get a straight answer. Including the one where we say do not hire us.