Out of Stock and Discontinued Product Pages: What to Keep, Redirect, or Delete
The right way to handle an unavailable product depends on one question: will it come back? If yes, keep the page live and mark it out of stock. If no, check whether the page has rankings or backlinks. Redirect it to the closest relevant category if it does, and return a 404 or 410 if it does not. What you should almost never do is bulk redirect every dead product to the homepage. This is a decision OnyxRank sees stores get wrong in audits, because catalog cleanups are usually done by someone in operations, not someone watching Search Console.
This guide gives you a working decision tree, the technical details Google documents, and a checklist you can hand to whoever manages your catalog.
Why this matters more than it looks
Product pages that disappear are rarely a rounding error. A store with a few thousand SKUs that rotates seasonal inventory can create hundreds of dead URLs a quarter. Each one can carry inbound links, internal links, sitemap entries, and feed entries that now point at nothing useful.
There are two ways this hurts you. First, you waste crawl attention and send mixed signals: sitemaps that list URLs that return errors, internal links to pages that redirect, feeds that advertise products you cannot ship. Second, you throw away equity. A discontinued product page that earned a review roundup link is an asset until you delete it carelessly.
One caveat on the evidence. The most direct public statements from Google about redirecting versus removing unavailable products are older, and I will date them as we go. The mechanics of status codes, soft 404s, and structured data are in current Google documentation. Where the guidance is older, treat it as a principle, not a rule.
Step 1: Classify every unavailable product
Before you touch a URL, sort the product into one of four groups.
1. **Temporarily out of stock.** It will return, and you know roughly when.
2. **Seasonal or cyclical.** It sells for part of the year and returns on a schedule.
3. **Replaced.** A new version or successor exists at a different URL.
4. **Permanently gone.** No replacement, no return.
This takes ten minutes in a spreadsheet and prevents most mistakes. The failure pattern is applying one rule to all four groups, usually "redirect everything to the homepage" or "delete everything with zero stock."
Step 2: Temporarily out of stock, keep the page live
If the product is coming back, leave the URL alone. Do not remove it from the sitemap, and do not strip internal links. The page keeps its rankings, its links, and its history, and you avoid a rebuild when stock returns.
Keep the page useful while it is unavailable. [Yoast's guidance on out of stock products](https://yoast.com/out-of-stock-products-ecommerce-seo/) recommends showing when the product will return, offering an email me when it is back option, and suggesting similar products. These help shoppers, and they also keep the page from looking like an empty shell.
Do three practical things on the page itself:
- **Say plainly that it is unavailable.** Do not hide the add to cart button silently and leave shoppers guessing.
- **Offer alternatives.** Link to two or three close substitutes and to the parent category.
- **Mark it up honestly.** Set availability in your structured data to match what shoppers see. Google's [merchant listing documentation](https://developers.google.com/search/docs/appearance/structured-data/merchant-listing) lists the schema.org values, including OutOfStock for items currently unavailable and Discontinued for items that will not return. Yoast also notes that BackOrder and PreOrder exist for items you can still take orders on.
The point of the markup is consistency. If the visible page says sold out and the markup says InStock, you have created a mismatch that can cause problems in merchant listings and feeds. Fix the template so availability is generated from inventory data, not hardcoded.
Seasonal products
For items that return each year, such as holiday decor or winter gear, the same logic applies: keep the URL. Stop promoting it, trim internal links from prominent places, and leave a "back next season" message. Retaining the same URL year after year is the cheapest way to build a page that already has history when demand returns.
Step 3: Replaced products, redirect to the successor
If a new version replaces the old one, a 301 redirect from the old URL to the new product page is the natural choice. Google's documentation on [redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) covers the permanent redirect options and how they signal that the old URL has moved.
The test is whether the replacement is a genuine substitute. A newer model of the same blender is. A different product in the same price range is not. When the replacement is real, also update the sitemap and product feed so they list the new URL and drop the old one, and update internal links to point directly at the destination instead of relying on the redirect forever.
Step 4: Permanently gone, decide on value
For products that are never coming back and have no successor, you have three options. Choose by evidence, not instinct.
Check the page's value first
Pull the URL into your SEO tool and look at three things: does it still get organic clicks, does it rank for product specific queries, and does it have external backlinks from sources you would be sad to lose. Search Console's Performance report and a backlink export are enough for this. You do not need a paid platform to make the call.
Option A: 301 to the closest category
If the page has traffic or links, redirect to the most relevant category or collection page, not to the homepage. Yoast's guidance matches this: redirect valuable discontinued pages to the closest relevant category, and tell the visitor that the specific product no longer exists. That message matters. A shopper who clicked a product link and lands on a category with no explanation will bounce.
Option B: Return a 404 or 410
If the page has no traffic and no links, delete it. Google's [documentation on HTTP status codes](https://developers.google.com/search/docs/crawling-indexing/http-network-errors) says that all 4xx errors except 429 are treated the same, and that Google treats the content as nonexistent, removes an indexed URL from the index, and gradually reduces how often it crawls it. In practice that means 404 and 410 are equivalent for Google's purposes, so use whichever your platform makes easy. Make the error page useful with search and category links.
Option C: Keep it live as a reference page
Some discontinued products still have value as information, such as spec sheets, compatibility notes, or manuals that owners search for. If people are still finding the page, keep it with a clear discontinued notice, Discontinued availability in the markup, and links to current alternatives. This is a deliberate choice, not a default, and it only makes sense when the page serves a real audience.
Step 5: Avoid the soft 404 trap
A soft 404 is a page that returns a 200 status but behaves like an error. Google's documentation says Search Console shows a soft 404 when a page's content suggests an empty page or an error message, and that a 200 does not guarantee indexing.
Product pages fall into this easily. A page with no price, no buy button, and a generic "this product is unavailable" message looks to Google like an error even though the server says success.
Redirects can create the same problem. In a July 2016 hangout reported by [Search Engine Roundtable](https://www.seroundtable.com/google-expired-page-redirects-404-22456.html), John Mueller said expired product pages can be treated like soft 404s, that redirecting thousands of them to unrelated pages is not advisable "unless I had a clear replacement for them," and that a redirect that is really a 404 in disguise will be picked up as a soft 404. An earlier [April 2016 report](https://www.seroundtable.com/google-on-redirecting-vs-404ing-products-that-no-longer-exist-21927.html) quotes him saying the best handling is to "do what works best for the user," which is sometimes a redirect and sometimes a friendly 404.
These statements are nearly a decade old, so I would not cite them as current policy. The underlying logic still matches the current status code documentation: Google judges what the page actually is, not what the server header claims. A redirect to an unrelated page is a page that does not answer the click, and that is the thing to avoid.
The decision tree
Use this as a one page reference for your team.
1. **Will it return?** Yes: keep the URL live, mark OutOfStock, offer alternatives and a restock alert.
2. **Is there a true successor?** Yes: 301 to the successor, update links, sitemap, and feed.
3. **Does the page have traffic or links?** Yes: 301 to the closest category with an explanatory message. If people still need the information, keep the page live as a discontinued reference.
4. **None of the above?** Return a 404 or 410 and remove the URL from the sitemap and feed.
For every path, clean up internal links, update the sitemap, and fix the feed. Skipping the cleanup is the most common reason problems linger.
An audit routine you can run this week
1. Export your product URLs with stock status from your platform.
2. Crawl the site and list product URLs that return 3xx, 4xx, or a 200 with no price.
3. Check Search Console's Page indexing report for Soft 404 and Not found entries tied to product paths.
4. Compare the list against your sitemap and Merchant Center feed. Anything unavailable that is still listed gets fixed.
5. Find redirects that point to the homepage and replace them with category or successor targets.
6. Confirm your template generates availability markup from live inventory.
If you want a second set of eyes on how your catalog handles this, [run a free OnyxRank audit](/free-audit). Ask us to look specifically at product URL status codes, redirects, and sitemap mismatches.
FAQ
Should I delete out of stock product pages?
No, not if the product will return. Keep the page live, say clearly that it is unavailable, offer alternatives, and mark availability as OutOfStock. Delete only when the product is gone for good and the page has no traffic or links.
Is a 404 or 410 better for discontinued products?
Google's documentation treats all 4xx errors except 429 the same way, so for Google the difference is negligible. Use the one your platform handles cleanly, and make sure the page shown to people is helpful.
Can I redirect all discontinued products to my homepage?
It is a bad default. Redirecting to an unrelated page does not serve the shopper, and Google has said such redirects can be treated as soft 404s. Redirect to a close category or a real successor instead.
What availability value should I use for discontinued items?
Use Discontinued for items that will not return and OutOfStock for items that are temporarily unavailable. Whichever you use, it must match what shoppers see on the page.
Key takeaways
- Sort every unavailable product into temporary, seasonal, replaced, or permanent before acting.
- Keep pages live for products that return, and keep availability markup honest.
- Redirect only to a genuine successor or the closest category, never by default to the homepage.
- Delete worthless pages with a 404 or 410 and clean up sitemaps, feeds, and internal links.
- Watch for soft 404s in Search Console, because a thin "unavailable" page can look like an error.
If you would like help applying this across a large catalog, see [OnyxRank pricing](/pricing) for our plans.
Pro Intel subscribers get the full picture - proprietary analysis, keyword opportunities, tactical playbooks, and template downloads every week. $49/mo.
One email per week. Actionable, no fluff.