Out-of-stock SEO
Out-of-stock SEO is how a site handles product URLs when stock runs out: temporarily unavailable, seasonally gone, or permanently discontinued. The right response depends on which of those three states applies. The wrong response — 404 everything, or redirect every dead PDP to the home — destroys ranking equity built up over years.
Long definition
A PDP that ranks #2 for "Sony WH-1000XM5" represents months of inbound links, internal authority, and accumulated user signals. When the product goes out of stock for a week, deleting that URL surrenders all of it. The default move is almost always to keep the URL alive.
Temporarily out of stock (back in days/weeks). Keep the URL, return 200, flip the schema availability from InStock to OutOfStock (or BackOrder if you accept orders for future fulfillment), and update the on-page state — replace the buy button with "Notify me when back in stock", add an estimated date if known, surface alternatives below the fold. Google's out-of-stock guidance explicitly supports this pattern. Keeping the page alive preserves rankings; the product comes back, the buy button returns, traffic resumes.
Seasonally out of stock. Same pattern, longer horizon. A swimwear PDP that's gone October-March still gets winter searches from people planning summer trips. The page should stay live with a "back next season" message and links to the year-round alternatives. Don't 404. Don't noindex.
Permanently discontinued. Now the URL has no product to serve. The choices, in order of preference:
- 301 to the closest live alternative — same brand, next-generation model. "Sony WH-1000XM4" → "Sony WH-1000XM5". Preserves ranking equity, makes UX sense, fits Google's redirect guidance.
- 301 to the parent PLP — when no equivalent exists but the category is healthy. Loses some specificity but keeps users in commerce flow.
- 410 Gone — when the product is truly gone with no equivalent and no PLP fits. 410 tells Google to drop it faster than 404 does. See
http-410-gone. - 404 — the lazy default, slowest deindexing, no value preserved. Avoid unless you've done none of the above.
What never works: redirecting every discontinued PDP to the home page. Google's documentation calls this a soft-404 pattern; it gets the redirect ignored, the URL deindexed slowly, and any internal authority dispersed to nothing.
Common misconceptions
- "Out of stock = 404." Almost never. The URL still represents a real product users search for. Keep it alive with
OutOfStockschema and on-page state until the SKU is truly retired. - "Redirect everything to the home." Google treats mass redirects to the home as soft-404s and processes them as 404s anyway. You lose the redirect's ranking-preservation benefit and confuse users.
- "Schema availability is decorative." It drives the rich-result rendering. A page with
InStockschema and a sold-out button confuses Google and users — and Shopping ads will run with stale availability if the feed isn't synced. - "Noindex while out of stock." Removes the page from results while you wait for stock. By the time it returns, you've lost the rank position and the recovery takes weeks. Keep it indexed.
Continue exploring