Skip to content

E-commerce SEO

Out-of-Stock Products and Discontinued Items: SEO Guide

Add saadrazaseo.com as a preferred source on Google

Quick answer

What to do with an out-of-stock product depends on whether it is returning, gone or replaced. Keep temporarily unavailable pages live with accurate availability markup. Redirect discontinued products with a close successor using a 301. Return a 410 or 404 when nothing relevant exists. Never mass-redirect discontinued products to the homepage.

Baymard Institute (2025) aggregates 50 studies and puts the average documented cart abandonment rate at 70.22 per cent, a reminder that shoppers who cannot buy need a useful next step.

What you should do with out-of-stock products depends on one question: is the product coming back, gone for good, or replaced by something else? This guide gives you a decision rule for each case, explains how availability markup, 301 redirects and 410 responses fit in, and shows why redirecting everything to the homepage is the mistake to avoid.

Three situations that look the same but are not

From a shopper’s point of view, “you can’t buy this right now” is one message. From an SEO point of view, it covers three very different situations, and each needs a different response.

Situation What it means Default action
Temporarily out of stock You expect to restock, even if the date is uncertain Keep the page live and indexable; update availability
Discontinued with a clear successor A newer model or close equivalent has taken its place 301 redirect to the successor, or keep the page and point to it
Discontinued with nothing relevant to replace it You will never sell it or anything close to it again Return a 410 (or 404), unless the page has value worth keeping

The rest of this post walks through each row in detail, plus the special cases that do not fit neatly.

Temporarily out of stock: keep the page working

A product page that has earned rankings, links and reviews is an asset. Removing it because stock ran low for a few weeks throws that away for no gain. When the product returns, a new page starts from scratch.

Instead, keep the URL live, return a normal 200 status, and make the page useful to someone who arrives today:

  • Say clearly that it is out of stock, near the price and the buy button. Do not let someone discover it at checkout.
  • Give an expected restock date if you genuinely know it. If you do not, say so rather than guessing.
  • Offer a back-in-stock email alert. This captures demand you would otherwise lose.
  • Show close alternatives that are in stock, ideally in the same size, price band or style.
  • Allow pre-orders or backorders if your operations support them.

Update availability in your structured data

Your product markup should reflect the real state of the item. In the Offer part of your product schema, the availability property takes values such as https://schema.org/InStock, https://schema.org/OutOfStock, https://schema.org/BackOrder and https://schema.org/PreOrder. Most e-commerce platforms switch this automatically when inventory reaches zero, but it is worth confirming. View the page source or use the Rich Results Test and check that the value changes when stock does.

Leaving InStock in the markup when the page says sold out creates exactly the kind of mismatch that frustrates shoppers and can cause problems in Shopping results.

Should a temporarily out-of-stock page be noindexed?

Generally, no. Noindexing removes the page from search, and getting it back once stock returns takes time. If the page is still useful because it offers alternatives and a restock alert, keep it indexed.

Discontinued but replaced: send people and signals to the successor

When a product is replaced by a newer version, the people searching for the old one are very likely to want the new one. That makes a 301 redirect the natural choice. It sends visitors to the right place and tells search engines that the old URL has permanently moved.

Use this step-by-step process:

  1. Confirm the successor really is a close match. Same type of product, same purpose, similar price range. A redirect to something only loosely related confuses visitors.
  2. Map old URL to new URL in a spreadsheet before you change anything. One row per product.
  3. Add the 301 redirects through your platform’s redirect manager or your server configuration.
  4. Update internal links in menus, category pages and blog posts so they point straight at the new URL rather than through the redirect.
  5. Test a sample of the old URLs to confirm each one lands on the intended successor in a single hop.

The alternative: keep the old page and point forward

Sometimes the old product page still gets traffic from people who want information about the item they already own: manuals, spare parts, compatibility. In that case you can keep the page live, mark it clearly as discontinued, and add a prominent link to the successor. This works well for electronics, appliances and anything with a long ownership life. Choose this route when the page answers questions that the successor page does not.

A good product description makes this decision easier, because the old page has something worth preserving. My guide on product descriptions that rank and convert covers what that kind of page looks like.

Discontinued with nothing relevant: let the page go properly

If you will never sell the product or anything close to it again, keeping a dead page live does not help anyone. The cleanest option is to return a 410 Gone status, which states that the removal is deliberate and permanent. A 404 also works; Google treats both as signals to drop the URL from its index over time, and in practice the difference between them is small.

Before you remove a page, check two things:

  • Does it have valuable external links? If reputable sites link to it, redirecting to the most relevant category page may preserve some value and is more helpful to people following those links.
  • Is there a relevant category? If the product belonged to a category you still sell, a redirect to that category can be reasonable. If the category is gone too, let the URL return 410.

Make your 404 or 410 page helpful: a search box, links to your main categories, and a short message. The status code tells search engines the page is gone; the content helps the human who arrived anyway.

Never mass-redirect discontinued products to the homepage

It is tempting to send every retired product URL to the homepage. It feels tidy and avoids 404s in reports. It is also one of the most common mistakes I see on store migrations and clearance projects.

Here is why it backfires:

  • Google may treat it as a soft 404. When a redirect lands on a page that has nothing to do with the original, Google can ignore the redirect and treat the old URL as missing anyway. You gain nothing.
  • It frustrates visitors. Someone who clicked a result for a specific item and lands on your homepage has to start again, and many will simply leave.
  • It hides real problems. A clean report of zero 404s can mask hundreds of irrelevant redirects that nobody is reviewing.

The rule is simple: redirect only to a page that a visitor would accept as a reasonable answer to what they were looking for. If no such page exists, let the URL return 410 or 404.

Special cases worth planning for

Seasonal products

Products that return every year, such as winter coats or festive gift sets, should keep the same URL across seasons. Mark them out of stock or “back next season” between runs. Changing URLs each year throws away accumulated signals.

Variants that sell out

If one size or colour sells out but others remain, keep the product page live and mark only that variant as unavailable. Make sure the default selected variant on page load is one that is in stock.

Categories that empty out

When most products in a category are out of stock, the category page itself becomes thin. Keep in-stock items at the top of the grid, and use the copy below the products to point to related categories. My guide to category page SEO has more on keeping these pages useful. If you rely on filters, check that an “in stock only” filter does not generate a flood of new indexable URLs; the article on faceted navigation SEO explains how to keep that in check.

What stock changes mean for your Merchant Center feed

If you list products in Google Shopping, whether paid or through free listings, your product feed must stay in step with your site. Availability in the feed should match availability on the landing page. When they disagree, Google may flag or disapprove the item.

A few practical points:

  • Out of stock products can stay in the feed with an out of stock availability value. You do not have to delete them.
  • Discontinued products should be removed from the feed, not just redirected on the site. A feed item pointing to a URL that redirects elsewhere can cause landing page errors.
  • Update frequency matters. If stock changes quickly, schedule more frequent feed fetches or use an integration that updates automatically, and keep accurate structured data on the page so Google has a second source to check.

I go through feed setup and the most common disapprovals in my guide to Merchant Center free listings for small stores.

Questions people ask about out-of-stock products

Will an out-of-stock page lose its rankings?

It can, particularly if it stays unavailable for a long time and searchers bounce back to the results. Keeping the page useful with alternatives and a restock alert gives it the best chance of holding its position, but nobody can guarantee rankings.

Is a 302 redirect acceptable for a temporarily unavailable product?

It is rarely the best option. Redirecting a page that will return sends shoppers away from the item they wanted. Keeping the page live and marked out of stock is clearer for both people and search engines.

How should I handle hundreds of discontinued products at once?

Export the list, then sort each URL into the three groups: successor exists, relevant category exists, or nothing relevant. Apply 301s to the first two groups where they genuinely fit and 410 to the rest. On WooCommerce, my WooCommerce SEO setup guide covers the tools available for managing redirects.

Should I delete reviews when a product is replaced?

Reviews belong to the product they describe. Do not copy them onto the successor as if they were about the new model. Keep them on the old page if it stays live.

Stock changes never stop, so a clear policy saves a lot of messy clean-up later. Setting up that policy, along with the redirect maps and feed checks behind it, is a routine part of the e-commerce SEO support I provide. If your store has a backlog of retired products, book a free audit and I will help you work out what to keep, redirect and remove.