Services

SEO

eCommerce SEOProduct & Category SEOeCommerce Link BuildingLocal SEOCannabis SEOSEO AuditLink BuildingNiche EditsLocal Citations

Paid Media

Performance MarketingeCommerce MarketingGoogle AdsGoogle Shopping AdseCommerce PPCMeta AdsTikTok AdsSnapchat AdsPaid Social

AI Search & PR

AI SEO & GEOBrand MentionsCommunity MentionsDigital PRMedia PlacementsPress ReleasesContent Syndication

Content & Growth

Content WritingeCommerce ContentBlog WritingWebsite CopywritingArticle WritingGuest PostsLead GenerationGrowth Marketing

Platforms

Shopify SEOShopify MarketingWooCommerce SEOMagento SEOBigCommerce SEOeCommerce SEO Audit

Industries

DispensariesCBD BrandsCannabis eCommerceDentistsLaw FirmsPlumbersRoofersRestaurants
Resources
BlogFree SEO ToolsResources & GuidesService QuizFAQ
Guest PostsPricingAboutContactGet Free SEO Audit
Home/Blog/ SEO/ Out of Stock and Discontinued Products:…
SEO

Out of Stock and Discontinued Products: SEO Best Practices

Out of Stock and Discontinued Products: SEO Best Practices

Every store runs out of things. The question is what happens to the product page when it does. Handle it well and you keep the rankings, backlinks and shoppers that page earned. Handle it badly and you end up with soft 404s, redirect chains and category pages full of items nobody can buy. That is why out of stock products SEO deserves a written policy, not a guess each time.

This guide gives US store owners and SEO leads a clear decision framework: when to keep a page live, when to 301 redirect, when to return a 404 or 410, and how to update structured data, Google Merchant Center feeds and internal links along the way. Our free 301 Redirect Generator turns a list of old and new URLs into ready-to-use rules. It applies to Shopify, WooCommerce, Magento and BigCommerce.

Not sure how many of these pages are hurting your store right now? Our eCommerce SEO audit finds them and tells you exactly what to do with each one.

Quick Answer

If a product is temporarily out of stock, keep the page live, mark it out of stock in structured data and your feed, and show alternatives. If it is permanently discontinued, 301 redirect it to the closest replacement or parent category. Only return a 404 or 410 when no relevant page exists and the URL has little traffic or links.

Key Takeaways

  • Temporary stock-outs almost never justify removing or redirecting a page; keep it indexable and useful.
  • Discontinued products with a close replacement should 301 to that replacement, not to the homepage.
  • Use 404 or 410 only for discontinued pages with no relevant destination and little traffic or link value.
  • Keep schema availability, Merchant Center availability and on-page messaging in sync.
  • Update internal links and collection sorting so out of stock items do not dominate key pages.
Empty store shelves

Temporary vs Permanent: The First Decision

Everything starts with one question: will this exact product be back?

  • Temporarily out of stock: a restock is expected, the product is on backorder, or it is a seasonal item that returns every year.
  • Permanently discontinued: the manufacturer stopped making it, you dropped the line, or it was replaced by a new model.

Get this right with your merchandising or buying team. SEO mistakes here usually happen because the person managing the store does not know whether a product is coming back, so they delete it “just in case” and lose the URL’s history.

How to Handle Temporarily Out of Stock Products

A temporarily unavailable product page still has value. It ranks, it may have reviews and backlinks, and shoppers searching for it can be captured. Keep it live and make it useful.

  1. Keep the page indexable. Do not add noindex, do not unpublish it and do not redirect it.
  2. Show availability clearly. Put “Out of stock” or “Back in stock soon” near the price, plus an expected restock date if you have one.
  3. Add a back-in-stock signup. An email or SMS alert turns an otherwise lost visit into a future sale.
  4. Show alternatives above the fold. Link to similar in-stock products, other colors or the parent category so the page still converts.
  5. Offer backorder or preorder if you can fulfill it. On Shopify, the “continue selling when out of stock” inventory option allows this. Be clear about ship dates.
  6. Update structured data. Set the Offer availability to OutOfStock, BackOrder or PreOrder as appropriate.
  7. Update your product feed. Set availability in Google Merchant Center to match the page.

Why not noindex out of stock pages?

Noindexing a page that will be back in two weeks drops it from search, and it may take time to return after you remove the tag. You lose rankings you will want again shortly. A clear out of stock message plus alternatives is a better experience than a missing result.

What about soft 404s?

Google may treat a page as a soft 404 when it returns a 200 status but looks like an error or empty page. An out of stock product page with a full description, images, reviews and related products does not look like that. A page that has been stripped down to “This product is unavailable” might. Keep the content intact.

How to Handle Discontinued Products

When a product is gone for good, the right move depends on two things: whether a relevant destination exists, and how much value the old URL holds (traffic, rankings and backlinks).

Option 1: 301 redirect to a close replacement

If there is a newer model or a near-identical product, redirect the old URL to it. This is the best outcome for both shoppers and SEO. Someone looking for the “Trail Runner 3” lands on the “Trail Runner 4” and can still buy.

Option 2: 301 redirect to the parent category

If there is no single replacement but the category is still relevant, redirect to the most specific category that contains similar items. Redirect to “Women’s Trail Running Shoes”, not “Shoes” and definitely not the homepage.

Option 3: Keep the page live as an informational page

Some discontinued products keep getting searched for years: parts, manuals, compatibility questions. If a page still earns meaningful traffic or links, consider keeping it live with a clear “Discontinued” notice, the original specs and links to the recommended replacement. Mark availability as Discontinued in structured data and remove it from your shopping feed.

Option 4: Return a 404 or 410

If the product has no relevant replacement, no category that fits and little traffic or link value, let it go. Return a 404 (not found) or 410 (gone). Both tell search engines the page is no longer available; a 410 is a slightly more explicit signal, but in practice the two are handled similarly. Make sure your 404 page includes search and links to top categories.

404 vs 301 for Discontinued Products: Decision Table

Use this table as the basis of your store’s written policy.

Situation Recommended action Why
Out of stock, restock expected Keep live, mark OutOfStock or BackOrder Preserves rankings you will want back
Seasonal product returning next year Keep live, same URL every year The URL builds history season after season
Discontinued, direct replacement exists 301 to the replacement Passes signals and serves the shopper’s intent
Discontinued, no replacement, relevant category exists 301 to the most specific category Keeps the visitor close to what they wanted
Discontinued, still gets searches or links for info Keep live as a discontinued page with alternatives Captures ongoing demand and links
Discontinued, no traffic, no links, no relevant destination 404 or 410 Avoids irrelevant redirects

Why not redirect everything to the homepage?

Mass redirects to the homepage feel safe, but Google may treat irrelevant redirects as soft 404s, so you often gain nothing. Shoppers also land somewhere unrelated to what they searched for and leave. A relevant category or replacement is better; when neither exists, a clean 404 is fine.

Worked Example: Deciding What to Do With a Retired Line

This is a hypothetical example to show the process.

A kitchenware store is retiring a range of 40 nonstick pans because the supplier stopped producing them. The SEO lead exports the 40 URLs and pulls 12 months of organic clicks from Search Console and referring domains from a backlink tool.

  • 8 pans have a direct successor in the new range. Each gets a 301 to its matching new model.
  • 25 pans have little traffic and no backlinks but fit the “Nonstick Frying Pans” category. They get a 301 to that category.
  • 5 pans are odd sizes with no equivalent, no traffic and no links. They return a 410.
  • 2 pans still get steady searches for “replacement handle” and care instructions. They stay live as discontinued pages linking to handles, care guides and the new range.

Finally, the team updates every internal link that pointed at the old URLs, so nothing relies on redirects, and removes the 40 items from the Merchant Center feed.

Structured Data and Merchant Center Settings

Your page, your schema and your shopping feed should all say the same thing. Mismatches can lead to Merchant Center disapprovals and confusing rich results.

Status Schema.org Offer availability Merchant Center availability
In stock InStock in_stock
Temporarily out of stock OutOfStock out_of_stock
Accepting orders, ships later BackOrder backorder (with availability date)
Not yet released PreOrder preorder (with availability date)
Permanently discontinued, page kept live Discontinued Remove from feed

Most platforms update schema and feeds automatically from inventory, but themes and feed apps do not always agree. Spot-check a few out of stock products with Google’s Rich Results Test and the Merchant Center diagnostics. Our guide to Google Shopping feed optimization covers feed hygiene in more detail, and the Google Merchant Center Help center lists current attribute requirements.

Internal Links, Collections and Sitemaps

Out of stock items still need some internal links, but they should not crowd out products people can buy.

  • Collection sorting: push out of stock items to the end of collection grids rather than hiding them completely. Many themes and merchandising apps support this. Hiding them entirely can leave temporarily unavailable products orphaned.
  • Homepage and featured blocks: swap out of stock products out of hero spots and best seller modules.
  • Platform settings: WooCommerce has an inventory option to hide out of stock items from the catalog, and Magento has a setting for whether out of stock products display. Use them deliberately; hiding removes internal links, which is fine for discontinued items but risky for temporary ones.
  • Old internal links: after redirecting or removing products, update links in blog posts, guides and menus to the new destination.
  • Sitemaps: keep temporarily out of stock pages in the XML sitemap; remove URLs that now redirect or return 404/410.

For a deeper look at how link structure affects product rankings, see our guide to eCommerce internal linking.

Platform Notes: Shopify, WooCommerce, Magento and BigCommerce

Shopify

Setting a product to Draft or Archived removes it from your online store, and its URL returns a 404. Deleting it does the same. Shopify does not redirect these automatically, so add redirects in the URL Redirects tool in your admin before you archive anything with value. When you change a product’s handle, Shopify offers to create a redirect from the old URL; leave that box checked.

WooCommerce

Moving a product to the trash or setting it to private makes the URL unavailable. Use a redirect plugin or your SEO plugin’s redirect manager to 301 discontinued URLs before removing them.

Magento (Adobe Commerce)

Disabling a product removes it from the storefront. Use URL rewrites to create permanent redirects, and check the stock display configuration so temporary stock-outs stay visible.

BigCommerce

Hiding or deleting a product removes the page from the storefront. BigCommerce has a built-in 301 redirects manager; use it to map discontinued URLs to replacements or categories.

Whatever the platform, the product pages that remain should be strong. Our product page SEO best practices guide covers what to include, and our product page SEO service can rework them at scale. For crawl and status code issues beyond product pages, read our eCommerce technical SEO guide.

FAQ

Should I delete out of stock products from my website?

Not if they are coming back. Keep temporarily out of stock pages live and indexable, mark them out of stock and show alternatives. Deleting them throws away rankings, reviews and links you will want when stock returns.

Is it better to 404 or 301 a discontinued product?

301 redirect when a close replacement or relevant category exists, because it serves the shopper and keeps the page’s signals. Use a 404 or 410 when no relevant destination exists and the page has little traffic or link value.

Do out of stock products hurt SEO?

Not by themselves. A complete product page marked out of stock is fine. Problems come from thin unavailable pages that look like soft 404s, category pages full of items nobody can buy and broken internal links after products are removed.

Should I noindex out of stock product pages?

Generally no. Noindexing a temporarily unavailable page removes it from search, and it can take time to regain rankings after the tag is removed. A clear stock message, restock alerts and related products are a better approach.

What is the difference between a 404 and a 410 for SEO?

Both tell search engines a page is not available. A 410 says the page is gone permanently, which is a slightly stronger signal, but search engines handle the two in a very similar way. Either is acceptable for discontinued products.

How do I mark a product out of stock in schema markup?

Set the availability property on the product’s Offer to OutOfStock, or to BackOrder or PreOrder if you are still taking orders. For a discontinued product kept live, use Discontinued. Keep this consistent with your page and your shopping feed.

Conclusion

Out of stock products SEO comes down to matching the response to the situation. Keep temporary stock-outs live and useful, redirect discontinued products to the closest relevant page, let truly dead URLs return a 404 or 410, and keep schema, feeds and internal links in sync. Write that down as a policy, and every product change stops being a judgment call.

If your catalog already has years of removed products, redirect chains and soft 404s, our eCommerce SEO audit service will map every URL and the fix it needs. Get in touch for a free audit.

Related reading

Ready to Grow Your Organic Traffic?

Let VYRO build and execute the right SEO strategy for your business - from local to international.

Get a Free SEO Audit Explore Our Services
VYRO Web
Typically replies instantly
👋 Hi there! How can we help you grow your business today?
Choose a topic