Skip to content
Ecommerce SEOProduct pages

Out-of-Stock and Discontinued Product Pages: What to Do

Out-of-stock and discontinued product pages are URLs for items a store cannot sell right now or will not sell again. Keep the page if the product returns, redirect it if a close replacement exists, and return a 404 or 410 only when nothing is left to preserve.

  • Decision order
  • Keep, redirect or remove
  • What to show
  • Schema and feeds
Abdullah Mahmud
Abdullah MahmudInternational and AI SEO Consultant
Updated Oct 20, 20268 min read
Out-of-stock and discontinued product pages: keep, redirect or remove

Out-of-stock and discontinued product pages are product URLs for items a store cannot currently sell, or will not sell again. How you treat them decides whether the page keeps its search value, sends shoppers somewhere useful, or turns into an error that search engines have to untangle. There are four options: keep the page, redirect it, return a 404 or 410, or hide it from the catalogue while leaving it reachable.

The right option depends on one question: will the product come back, and if not, is there something close that a shopper would want instead? This guide sets out a decision order, what to show on the page in each case, and what to do about the schema, the feed and the internal links.

The advice here reflects how search engines treat pages in general and my judgment on stores I have worked on. Where a point is a judgment call, I say so.

Hundreds of dead product pages?

I work out which discontinued and out-of-stock pages to keep, redirect or remove as part of an ecommerce SEO review.

Talk to an Ecommerce SEO Consultant

The Decision Order for Unavailable Products

Work through these questions for each product, or for each group of similar products. The first answer that applies decides the treatment.

  1. 1
    Will the product be back in stock? Yes: keep the page live and say soNo: go to the next question
  2. 2
    Is there a close replacement? Yes: 301 redirect to it, or keep the page with a clear link to itNo: go to the next question
  3. 3
    Does the page still earn traffic or links? Yes: keep it as an unavailable page that points to the category and alternativesNo: go to the next question
  4. 4
    Does the page have no value left? Return a 404 or 410 and remove it from the sitemap

The order matters. A 404 is the last option, not the first, because a page that still earns visits or links can usually do something useful for a shopper.

Temporarily Out of Stock: Keep the Page

If the product will be back, keep the URL live with a 200 status, keep it indexable and keep its content. The page has history, links and a shopper who may return, and removing it or redirecting it throws that away.

Make the status obvious. Show that the item is out of stock, say when it is expected if you know, and offer a way to be told when it returns. Add links to similar products and to the parent category so the visit does not end on a dead end.

Do not leave the buy button looking available. A shopper who cannot buy and cannot tell why will leave, and a page that promises availability the store cannot deliver also creates a mismatch with your structured data and product feed.

Discontinued Products: Redirect, Keep or Remove

A discontinued product is gone for good, so the choices change. This table sets out what I would do in each situation.

SituationTreatmentWhy
A close replacement exists301 redirect to the replacementThe shopper lands on something relevant and the page’s value moves with it
A newer version of the same product exists301 redirect to the newer versionSame intent, same shopper
No replacement, but the page earns traffic or linksKeep the page, mark it unavailable, link to alternativesIt still serves visitors and holds its links
No replacement, but a clear parent category exists301 redirect to the categoryAcceptable when the category matches the product’s intent
No replacement, no traffic, no links404 or 410, removed from the sitemapThere is nothing to preserve
Many near-identical old productsGroup them and handle them in batchesCase-by-case work does not scale

The mistake I see most often is redirecting every removed product to the home page. Google documents that redirecting removed pages to an unrelated page can be treated as a soft 404, and it does not help the shopper either. A redirect should go somewhere that matches what the old page was about.

404, 410 and the Soft 404 Trap

A 404 means the page was not found. A 410 means it is gone and was removed on purpose. For most stores the difference is small, and Google has indicated that it handles the two in a similar way. Use whichever your platform makes easy to set.

The thing to avoid is a soft 404. That is a page that shows “this product is no longer available” but returns a normal 200 status, so search engines see a live page with almost no content. If the page is gone, return a real error status or redirect to something relevant.

404 or 410Honest. Search engines remove the page over time. Use when nothing relevant exists.
Soft 404A thin “not available” page with a 200 status. Avoid it.

Also check the custom 404 page on your platform. A helpful 404 page should link to the main categories and offer search, and it must return a 404 status, not 200.

What to Show on an Unavailable Product Page

The page should help a shopper who arrives from search, a link or a bookmark. These elements do the job.

  • A clear statement of availability near the title, not hidden at the bottom.
  • The expected return date when you honestly know it, and no date when you do not.
  • A back-in-stock notification option for temporary stock-outs.
  • Links to close alternatives and to the parent category.
  • A buy button that is clearly disabled or replaced, not one that appears to work.
  • Product schema whose availability matches the page.

Keep the product description, specifications and images in place. The page remains a useful reference, and removing the content turns it into the thin page you were trying to avoid.

Structured data and feeds should tell the same story as the page. In schema.org, the availability property has values such as InStock, OutOfStock, PreOrder and Discontinued, and the one you output should match what the page shows. If a Google Merchant Center feed is in use, its availability should agree as well, because a mismatch between the feed and the page can lead to product disapprovals.

For internal links, keep unavailable products out of prominent positions such as the top of a category, unless they are the best match for the shopper. Many platforms let you show out-of-stock items at the end of the list or hide them from the catalogue while keeping the URL reachable. Check that the option you choose does not also remove the page from your sitemap while it is still live.

The sitemap should list only live, indexable pages. Remove products you have redirected or removed so search engines are not asked to crawl URLs that return redirects or errors.

Platform Notes: Shopify and WooCommerce

On Shopify, a product set to draft or archived is no longer available at its URL, so removing it effectively returns a not-found page. Add a redirect in the admin if a replacement exists. A product that is out of stock but still active stays live, and the “continue selling when out of stock” setting controls whether it can be ordered.

On WooCommerce, a product marked out of stock stays live. There is a setting in the inventory options to hide out-of-stock items from the catalogue, which removes them from listings without necessarily removing the product page, so check what happens at the product URL. A product moved to the trash stops being available at its URL, and you would add a redirect with a plugin or server rule.

Platforms change these behaviours, so test one product of each type before applying a rule across the catalogue.

Frequently Asked Questions

Should I noindex out-of-stock product pages?

Not for temporary stock-outs. The page still has links, history and a shopper who may come back. Noindex removes it from results, and getting it back takes time. Consider it only for pages that must stay reachable but have no search value.

Should I redirect or 404 a discontinued product?

It depends on whether a close replacement exists. If one does, a 301 redirect to it serves the shopper and keeps the page’s value. If none does, a 404 or 410 is honest and fine. Redirecting everything to the home page is the option I would avoid.

What is the difference between a 404 and a 410?

Both tell search engines the page is gone. A 410 says it was removed on purpose. Google has indicated that it treats the two similarly, so I would not spend effort on the difference unless your platform makes one easier to set.

What is a soft 404?

A soft 404 is a page that tells the visitor the content is missing but returns a normal 200 status, or a redirect that sends removed pages to an unrelated page. Search engines can treat these as errors, so a gone page should return a real 404 or 410, or redirect to a relevant page.

Do I need to update product schema when an item is out of stock?

Yes. The availability in your structured data should match what the page says. If the page says out of stock, the markup should say out of stock too, and your product feed should agree.

Out-of-Stock and Discontinued Page Checklist

  • Temporarily out-of-stock products stay live, indexable and clearly marked.
  • Discontinued products with a close replacement redirect to it.
  • Discontinued products with traffic or links, and no replacement, stay up as unavailable pages with alternatives.
  • Products with no value return a real 404 or 410, not a soft 404.
  • No bulk redirect sends removed products to the home page.
  • Schema and feed availability match what the page says.
  • The sitemap lists only live, indexable pages.
  • Redirected or removed URLs no longer appear in internal links.

For the wider product page picture, read the guide on product page SEO for large catalogues, which covers dead stock as part of catalogue management.

Want a decision for every dead product page?

Book a call and we will sort your out-of-stock and discontinued pages into keep, redirect and remove.

Book a Call
Abdullah Mahmud
Written by
Abdullah Mahmud

I work on product pages and catalogues for online stores. This guide gives the decision order I would use for out-of-stock and discontinued products, and says where a point is judgment.

Ecommerce SEOProduct pagesRedirectsStructured dataCatalogue management
Keep reading

More SEO guides

All SEO guides
Product Page SEO When You Have Thousands of Products
Ecommerce SEOUpdated Oct 12, 2026

Product Page SEO When You Have Thousands of Products

Optimize thousands of product pages without rewriting each one. Tier your catalogue, control indexing, template titles, and handle variants and dead stock.

Abdullah Mahmud Abdullah Mahmud
Collection Page SEO for Online Stores: A Practical Guide
Ecommerce SEOUpdated Oct 12, 2026

Collection Page SEO for Online Stores

How to rank ecommerce collection pages: keyword mapping, filter URLs, schema, internal links and AI search visibility, from a working ecommerce SEO consultant.

Abdullah Mahmud Abdullah Mahmud
Duplicate product URLs in ecommerce: causes and fixes
Technical SEOUpdated Oct 20, 2026

Duplicate Product URLs in Ecommerce

Why one product can have several URLs on Shopify, WooCommerce and Magento, how to find them, and how to fix them with canonicals, redirects and cleaner links.

Abdullah Mahmud Abdullah Mahmud
Out-of-stock product pages

Not sure what to do with your dead product pages?

Get them sorted into keep, redirect and remove, with a plan your team can follow.

Abdullah Mahmud, international SEO consultant