Home/Blogs/Ecommerce SEO
Ecommerce SEO

How to Handle Out-of-Stock and Discontinued Products for SEO

Deleting product pages throws away rankings and links. A decision guide for temporarily out-of-stock, discontinued, replaced and seasonal products.

The short answer

For out of stock products SEO: if a product is temporarily out of stock, keep the page live, mark it OutOfStock in schema, show the restock date and alternatives, and offer back-in-stock alerts. If a product is permanently discontinued, 301 redirect it to the closest replacement or category when there is one; if nothing relevant exists and the page has no links or traffic, return a 404 or 410. Never delete pages with valuable rankings or links without a redirect.

How to Handle Out-of-Stock and Discontinued Products for SEO
On this page
  1. The decision table
  2. Temporarily out of stock: keep the page working
  3. Permanently discontinued products
  4. 404 vs 410 for removed products
  5. Seasonal products SEO
  6. A product lifecycle SEO process
  7. Ecommerce redirects during a site migration
  8. Sold out, pre-order and backorder pages
  9. Product removal checklist
  10. Inventory management and SEO
  11. Shopify and WooCommerce
  12. Frequently asked questions

Every store has products that sell out, change model or get discontinued. Handled badly, each one deletes rankings, links and customer trust. Handled well, the traffic flows to a sensible alternative. This guide covers how to handle out-of-stock products: SEO decisions for every situation. This guide expands the out-of-stock section of our ecommerce SEO playbook.

The decision table

SituationWhat to do
Temporarily out of stockKeep live, OutOfStock schema, restock date, alternatives, alerts
Discontinued, direct replacement exists301 redirect to the replacement product
Discontinued, no replacement, has traffic or links301 to the most relevant category, or keep as an information page with alternatives
Discontinued, no replacement, no valueReturn 404 or 410
Seasonal productKeep the URL live year-round and update it each season

Temporarily out of stock: keep the page working

  • Keep the page indexable and the content intact.
  • Set product availability schema to OutOfStock (or PreOrder / BackOrder where accurate).
  • Show the expected restock date if you know it.
  • Offer back in stock notifications by email or SMS — a useful list-building tool.
  • Show alternative products prominently so visitors can still buy.
  • Move out-of-stock items lower in category sorting rather than removing them.

Permanently discontinued products

For discontinued products SEO, the deciding questions are: is there a replacement, and does the old page have rankings, traffic or backlinks?

  • 301 redirect discontinued products to replacement products — the new model or the closest match — to pass on most of their value.
  • If there is no close match, redirect to the most relevant category, not the homepage. Mass redirects to the homepage are often treated as soft 404 errors.
  • For products people still research (manuals, specifications, compatibility), keep the page live as a “no longer available” information page linking to alternatives.

404 vs 410 for removed products

Both tell Google the page is gone. A 410 says “gone permanently” and may be dropped from the index slightly faster; a 404 is fine in most cases. Use either only for pages with no meaningful traffic or links. Our 404 errors guide explains when 404s are harmless.

Seasonal products SEO

For seasonal products SEO — Christmas ranges, summer collections, annual models — keep one permanent URL (/christmas-gifts, not /christmas-gifts-2026) and refresh it each year. The page keeps its links and history, so it ranks earlier every season. The same principle applies to expired listings such as events or limited editions: reuse the URL where you can.

Ecommerce SEOLosing traffic to removed products?

We find the deleted pages that still have value and redirect them properly.

Get a free SEO audit

A product lifecycle SEO process

  1. Before removing any product, check its traffic, rankings and backlinks.
  2. Decide the destination using the table above.
  3. Implement redirects at the same time the product is removed.
  4. Update internal links, sitemaps and feeds.
  5. Review Search Console for new 404s and soft 404s monthly.

A documented product lifecycle SEO process prevents the slow traffic leak most stores suffer.

Ecommerce redirects during a site migration

An ecommerce site migration is the highest-risk moment: thousands of product URLs may change at once. Map every old URL to its new equivalent, test product page redirects before launch, and monitor rankings daily afterwards. Planned ecommerce redirects are the difference between a smooth migration and a lasting traffic drop. An ecommerce SEO audit after launch catches what slipped through — part of our ecommerce SEO services.

Sold out, pre-order and backorder pages

  • Sold out products that will return: keep the page, mark availability, show alternatives.
  • Pre-order pages: use PreOrder availability, a clear release date and a deposit or payment explanation.
  • Backorder items: show expected dispatch time honestly; use BackOrder availability.
  • Limited edition products: keep the page after sell-out as a record with links to the current range — these pages often attract links and brand searches.

Good out of stock page SEO keeps the visitor moving to something they can buy.

Product removal checklist

  1. Check the page’s traffic, rankings and backlinks.
  2. Choose the destination: replacement product page, category, or 404/410.
  3. Add the discontinued product redirect to your redirect map.
  4. Remove the product from feeds, sitemaps and internal links.
  5. Monitor Google Search Console 404 and soft 404 errors reports.

This product removal checklist turns ad-hoc deletions into a product sunset policy the whole team follows.

Inventory management and SEO

Inventory management SEO means connecting stock systems to the website so availability, schema and feeds update automatically. When stock data and pages disagree, Google may show the wrong availability or drop products from shopping results. Large numbers of 404 errors ecommerce sites accumulate usually come from deleting products without a process.

Shopify and WooCommerce

  • Shopify out of stock SEO: keep products published but sold out (rather than hidden) when they will return; use URL redirects in the admin for discontinued items.
  • WooCommerce out of stock SEO: check the “hide out of stock items” setting, which can remove pages from categories and internal links.

Planning a re-platform? Add these rules to your ecommerce migration checklist, or bring in an ecommerce SEO consultant — see our ecommerce SEO service.

Out-of-stock products and SEO: frequently asked questions

Should I remove out-of-stock products from my website?

Not if they will return. Keep the page live, mark it out of stock, show alternatives and offer back-in-stock alerts.

What should I do with discontinued product pages?

301 redirect them to a replacement product or the most relevant category if the page has traffic or links; otherwise return a 404 or 410.

Is it bad to redirect discontinued products to the homepage?

Usually yes. Google often treats irrelevant redirects to the homepage as soft 404s, so the page’s value is lost. Redirect to the closest relevant page instead.

What is the difference between a 404 and a 410?

Both mean the page no longer exists. A 410 signals the removal is permanent and may be processed slightly faster; for SEO the difference is small.

How do I handle seasonal product pages?

Keep one permanent URL without a year in it and update the content each season, so it keeps its rankings and links.

Should sold out products stay on my website?

Yes, if they will come back or still attract searches. Keep the page, show availability and alternatives, and offer back-in-stock alerts.

What is a soft 404?

A page that returns a normal response but looks empty or irrelevant to Google, such as a removed product redirected to the homepage. Google treats it like a 404.

How do I build a redirect map?

List every old URL with its traffic and links, assign the closest relevant new URL, and implement 301 redirects at the same time the old pages are removed.

Should I hide out-of-stock products on Shopify or WooCommerce?

Usually not if they will return, because hiding them removes internal links and can drop the pages from search.

Work with SDM

Want product changes handled without losing traffic?

SD
Written by
SEO Specialist · More articles