
Your best seller sold out, and the next shipment is three weeks away. Another product is gone for good. Both pages still exist, still get visits, and still show up in search. What you do next affects customers who land there and how search engines treat the pages.
There is no single rule for every store. Here is how to decide, product by product.
Review your product-page decisions
Book a call and we will walk through how your store handles sold-out and discontinued products, page by page.
Let the Buzz BeginQuick answer: what should you do with out-of-stock product pages? If the product is coming back, keep the page live, say clearly that it is out of stock, and keep the availability in your structured data and product feeds accurate. If it is discontinued and has a direct replacement, a redirect to that replacement can help customers. If there is no close replacement, keep a helpful page or return a “not found” status, and avoid redirecting everything to your homepage.
Is the product out temporarily or permanently?
Start here, because the answer changes everything:
- Temporarily out of stock: you expect to restock. The page should stay.
- Discontinued: it is not coming back. The page needs a decision.
- Seasonal: it returns on a schedule. Treat it like temporarily out of stock.
What should customers see?
Whatever the decision, the visitor should understand immediately:
- Clear status near the price: out of stock, back in stock date if you know it, or discontinued.
- A next step: a back-in-stock notification signup, similar products, or the replacement model.
- Accurate buy options: do not let customers add an unavailable item to the cart unless you actually accept backorders.
If you keep taking orders on a sold-out item, two rules apply. Shopify’s Continue selling when out of stock setting lets customers buy at zero inventory, and the FTC’s Mail, Internet, or Telephone Order Rule then applies: you need a reasonable basis for any shipping time you state, and if you cannot ship on time, you must offer the customer the choice to cancel for a full refund.

How do availability data and feeds fit in?
Search engines and shopping surfaces read availability from your page markup and product feeds, so keep them consistent with what the page says. Google’s structured data guidance for merchants includes an availability property, with values such as InStock, OutOfStock, and Discontinued. If you sell through Google Merchant Center, Google’s help page on the availability attribute asks for consistent availability across your landing page, structured data, checkout, and product feed. It also says not to mark products you no longer sell as out of stock; remove discontinued products from your product data instead.
Most ecommerce platforms update the markup automatically when inventory changes, but check yours: some themes or apps keep showing “in stock” in the code after the item sells out.
When should you redirect, and where?
Product lifecycle decision tree
| Situation | What to do | Notes |
|---|---|---|
| Temporarily out of stock | Keep the page live | Update the status message, structured data, and feed; offer a restock alert |
| Discontinued, with a direct replacement | Redirect (301) to the replacement, or keep the page and link prominently to it | Tell visitors the original is no longer available; remove it from your Merchant Center feed |
| Discontinued, no replacement, page still useful (specs, manuals, support) | Keep the page as an information page | Mark it discontinued; link to related products; remove it from your feed |
| Discontinued, no replacement, page has no ongoing value | Return a 404 or 410 status | Remove internal links to it and remove it from your feed |
| Many discontinued products at once | Decide one by one, or by group | Do not redirect all of them to the homepage |
Redirecting many old product URLs to one unrelated page, such as the homepage, can confuse visitors, and Google may treat those redirects as “soft 404” errors. A redirect works best when the destination is a genuine substitute.

What should you check after making changes?
- The visible status, structured data, and feed all say the same thing.
- Redirects go straight to the destination, with no chains.
- Internal links and the sitemap no longer point to removed or redirected pages.
- Pages you removed return a 404 or 410, not a “not found” message on a page that returns a 200 status.
- Category pages do not fill up with unavailable products shown first.
How your product schema should be set up is covered in our product schema guide. If availability problems are part of a broader traffic drop, our guide to ecommerce organic revenue recovery covers the wider diagnosis. If you redirect to a category page, our guide to commercial category pages covers what that page should offer, and our guide to ecommerce AI visibility covers keeping product data readable to AI shopping tools. Related guides cover handling filter pages and win-back emails. Our SEO Optimization service includes technical fixes and indexing management.

Frequently asked questions about out-of-stock products SEO
What if stock comes back?
Keep the page live while it is out, then update the status, markup, and feed the moment it returns.
What if a product is discontinued?
Redirect to a genuine replacement if there is one. If not, keep a useful information page or return a 404 or 410. Either way, remove it from your Merchant Center feed rather than marking it out of stock.
Should I redirect discontinued products to a category page?
Only when the category is a real substitute for what the visitor wanted, and tell them the original is gone.
Final thoughts on out-of-stock product pages
Decide by product, not by blanket rule: keep what is coming back, redirect to real replacements, and remove pages with nothing left to offer. Keep the page, markup, and feed telling the same story. For help reviewing your catalog, book a call with one of our hive specialists today.
