Skip to content

E-commerce SEO · guide 3 of 4

Out-of-stock and discontinued products: keep, redirect or remove

What to do with a product page when stock runs out or the product is gone for good, so you keep what the page earned and visitors never hit a dead end.

24 min readUpdated 9 Nov 2026

  • 8 questions to test yourself
  • 1 calculator
  • 6-item checklist
On this page12 sections

Before you delete that sold-out product page

The supplier emails: your best-seller is discontinued. The tidy instinct is to delete the page. But a page that has been live for a few years is more than a description and a price. Google has found it, other sites may link to it, and people may still type the product's name into Google every week. Delete it and every one of them lands on an error page instead of your shop.

By the end of this guide you will have a four-question test that sorts any sold-out or discontinued product into keep, redirect or remove in a couple of minutes, plus a way to put a number on what a clear-out would cost your own shop.

There is also one way of keeping a sold-out page live that Google may still treat as if you had deleted it. It is common, it is easy to miss, and we will come back to it once you have seen what a good sold-out page looks like. First, a decision.

What would you do?

A cycling shop loses its best-selling helmet

This is an illustrative example: the shop and the helmet are made up. A small online cycling shop has sold the Vela Aero helmet for three years. The maker has stopped producing it and replaced it with the Vela Aero 2, which the shop now stocks.

The old page still gets visits from Google every week, mostly from people searching “Vela Aero helmet”, and a cycling blog links to it from a review.

What would you do with the old page? Pick one, then explore the others.

The one question that decides almost everything: is it coming back?

Every out-of-stock decision starts with the same question. If the product will be back, the page stays exactly where it is. If it will not, the page either hands its visitors to the closest replacement or, when nothing is worth saving, is removed cleanly.

A few technical words come up below. A status code is the short number your server sends with every page: 200 means “here is the page”, 404 means “not found”, 410 means “gone on purpose”. A 301 redirect means “this has moved permanently, go here instead”, and a 302 means “go here for now”.

Side by side

SituationWhat to doWhat Google receivesWhat the visitor sees
Out of stock, coming backKeep it live, marked out of stock200, availability out of stockThe product, a return date, a restock email and alternatives
Gone, close replacement existsRedirect to the replacement301 to the new productThe replacement, with a note that it replaces the old one
Gone, page still usefulKeep it as a discontinued page200, availability discontinuedSpecs, manuals and spare parts, plus current alternatives
Gone, nothing worth savingRemove it404 or 410A helpful not-found page with search and main categories
A redirect to a category can also work for a discontinued product, but only when that category is a genuinely close match, not just somewhere to send people.

To see these four rows applied to a whole catalogue, read the Tulivu Pharmacy case study on this site. It is illustrative (an invented online pharmacy in Nairobi, with modelled figures), and it starts where many shops do: every product page returned a 404 the moment stock ran out. The fix in that study is this table: a product that is coming back stays live with a return date and alternatives, a replaced product redirects to its successor, and one gone for good with nothing to replace it is removed with a 410.

Temporarily out of stock: keep the page and make it useful

If the product is coming back, leave the page live at the same address, returning a normal 200. Google's own advice to shops, in its Search Central guidance on pausing a business online, is to mark products as out of stock rather than removing them. The page keeps its place, and when stock returns you have nothing to rebuild.

Keeping the page is only half the job. An out-of-stock page that simply says “Sold out” in grey sends the visitor straight back to Google, often to a competitor. The same page can instead tell them when it is back, let them ask to be emailed, and show what they could buy today.

  • Say it in words near the price: “Out of stock, back around 20 March” is far more useful than a greyed-out button.
  • Give a restock date only if you actually have one. A missed date can cost more trust than no date at all.
  • Offer “Email me when it is back”, and send exactly one email when it is.
  • Show two to four genuine alternatives just below: the same item in another colour, a close model, or the item the product is usually bought with.
  • If only some sizes or colours are sold out, keep the page fully buyable and mark just those options as unavailable.
  • For seasonal products, reuse the same address every year (a page for Christmas hampers, not one per year), so the page keeps what it earned last season.

Before and after

The same sold-out page, two ways

Dead end

Linen Duvet Cover, Sage. €89.

SOLD OUT (greyed-out button, nothing else on the page changes).

Still working for you

Linen Duvet Cover, Sage. €89.

Out of stock in Sage. Our next delivery is due in the week of 20 March. Email me when it is back.

In stock now: the same cover in Oat and Slate, and the Sage pillowcases that match it.

  • The visitor learns when, not just that, so waiting or signing up becomes a real option instead of leaving.
  • The alternatives are real substitutes, so the visit can still end in an order today.
  • The page stays the same page for Google: same address, same content, with only the availability changed.

Three tempting shortcuts that usually backfire

When stock runs out, shop owners reach for a few quick fixes that feel tidy. Before reading why, see which ones you would have used.

Myth or fact?

True or false?

For each one: myth or fact?0 of 4 answered
  1. 1.Adding noindex to an out-of-stock page protects your rankings until stock returns.

  2. 2.Hiding sold-out products from your category pages can leave their product pages with no internal links.

  3. 3.A 302 (temporary) redirect is the right way to handle a product that is out of stock for a month.

  4. 4.A product page that was deleted by accident can usually be restored at the same address.

Discontinued for good: find the closest real replacement

When a product will not return, a permanent 301 redirect is usually the best way to keep what the old page earned. Google's documentation describes a permanent redirect as a strong signal that the new page should be shown in place of the old one. The visitor never sees an error, and links from other sites keep pointing at something you sell.

The test for a good redirect is simple: would a person who wanted the old product be glad to land there? The successor model passes. A different product for the same need usually passes. A narrow category of close equivalents can pass. The homepage almost never does.

Quick quiz

A shop stops selling a 1.7-litre glass kettle from one brand for good. It has no successor. Where should the old page redirect?

Pick one. Your first answer is the one that counts.

When a discontinued page is worth keeping alive

Sometimes the old product is still the thing people are looking for, just not to buy new. Owners search the model name for a manual, a spare part, a compatible battery or the dimensions before they sell theirs second-hand. If your page answers those questions, redirecting it away takes the answer with it.

In that case, keep the page live, state clearly at the top that the product is discontinued, and turn it into a reference page: specifications, a downloadable manual, compatible spare parts and accessories you sell, and a clear link to the current model.

Search Console's Performance report shows the searches that bring people to an old page, and the words people add to the model name tell you which fate fits. Say the made-up grinder above is called the Brava 60. Guess what each search means before you flip it.

Test yourself

What is this search telling you?

Think of your answer, then flip the card.0 of 4 flipped

When removing the page is the right answer

Some pages have nothing to save: no visits from Google in the last year, no links from other sites, no replacement, and nobody searching for the product. Keeping hundreds of these just adds dead weight a visitor can stumble into. Remove them with a 404 or a 410.

Google treats 404 and 410 in much the same way: either way the page drops out of its results over time. A 410 says “removed on purpose” a little more explicitly, but do not lose sleep over which one your platform sends. What matters more is the clean-up around the page.

  • Remove the product from your sitemap and your shopping feeds.
  • Find and fix links to it from your own pages: categories, blog posts, “related products” and menus. The free broken link checker on this site follows your links across up to 50 pages and lists every one that leads nowhere, with the page it sits on.
  • Make your not-found page helpful: a search box, your main categories and a line such as “This product is no longer available”.

Try the numbers

Put your own numbers on a clear-out

40 pages
5 clicks
1.5%
€60

Visits a year that would hit an error page

2,400 visits

Orders those visits represent

about 36 orders

Sales those orders add up to

about €2,160 a year

Your own estimate from your own numbers, not a forecast: clicks fade after a page goes, and even a good redirect will not keep every visit. Take the clicks figure from Search Console's Performance report for the pages on your list. If the yearly sales figure is more than the hour or two it takes to set up redirects, redirect the pages with the most clicks first and delete only the ones with none.

The decision, one question at a time

Put it together and the decision for any single product takes four questions. Open Search Console's Performance report, filter by the page's address and look at the last 12 months, then work through them in order.

Step by step

Keep, redirect or remove

Step 1 of 4

Will it be back in stock?

Yes, even if not for months: keep the page live, mark it out of stock, offer a restock email and alternatives. You are done.

No, or you honestly do not know: go to question 2.

Now try the four questions on a product where the obvious answer is wrong.

What would you do?

This is an illustrative example: the shop and the product are made up. A tea shop has stopped selling a cast-iron teapot for good. The maker went out of business, so there is no successor, and nobody searches for the teapot by name any more.

Search Console shows only a handful of clicks a month, but the Links report shows a food magazine linking to the page from a gift guide. The shop sells other cast-iron teapots in a “Cast-iron teapots” category.

Work through the four questions. What should happen to the page?

Tell Google the same story everywhere

Google reads your stock status in more than one place: the words on the page, the product structured data (a short block of code, defined by schema.org, that describes the product for machines) and, if you advertise or list products free in Google Shopping, your Merchant Center feed. When these disagree, the page that says “In stock” while the button says “Sold out” helps nobody.

Most shop platforms and plugins fill in structured data automatically from your stock settings, so the main job is to keep stock levels in your platform accurate. Merchant Center checks that the availability on your page matches your feed and can flag or disapprove products when they do not.

Test yourself

Think of your answer, then flip the card.0 of 4 flipped

Put it in the right order

Retiring a product cleanly is a short routine. Doing the steps in the wrong order is how pages vanish with nobody noticing what they were worth.

Put it in order

Put the steps for retiring a discontinued product in order

Use the arrows to move each item, then check.

  1. Choose its fate: keep, redirect or remove
  2. Update internal links, the sitemap and your feeds
  3. Set up the redirect or removal
  4. A few weeks later, check Search Console's Pages report
  5. Check the page's clicks and links in Search Console

How does your shop handle it today?

Score your shop honestly against everything above. The result points you at the section to reread and the first job to do.

Score yourself

Out-of-stock habits

  1. Temporarily sold-out products stay live at the same address

  2. Out-of-stock pages say in words when the product is expected back, if we know

  3. Shoppers can ask to be emailed when a product returns

  4. Sold-out pages show genuine in-stock alternatives

  5. Discontinued products are redirected to the closest replacement, not the homepage

  6. Before deleting a page, we check its clicks and links

  7. Our structured data and feed show the same availability as the page

0 / 14

0 of 7 answered. Answer them all to see your result.

What to do this week

You do not need to fix the whole catalogue at once. Start with the pages where the most is at stake: the ones Google still sends people to.

Checklist

This week

0 of 6 done

Saved on this device only

Questions people ask

How long should a product be out of stock before I treat it as discontinued?

There is no set number of weeks. Ask your supplier. If it is coming back, keep the page however long it takes. If nobody can tell you, keep the page with alternatives for now and decide again in a few months.

Should out-of-stock products show at the bottom of my category pages?

It is a reasonable compromise: they stay findable and linked, but shoppers see what they can buy first. Many platforms and themes have a setting or plugin for it. The guide on category pages covers how to order the grid so the first row is what people can buy today.

Will a redirect keep my old page's rankings?

Nobody can promise that. A permanent redirect to a close match is the clearest way to tell Google the new page replaces the old one, but where the new page ranks depends on the new page and on what else competes for the search.

I am moving my whole shop to a new platform. Is this the same thing?

It uses the same tools, redirects and status codes, but at a much bigger scale. Read the guide on moving or redesigning a site before you start, because the redirect map is where most migrations lose traffic.

One setting from this guide leads straight into the next one in this series. An “in stock only” filter, like every size, colour and price filter in your shop, can give the same category dozens of extra web addresses that Google may try to crawl. The guide on filters and faceted navigation shows you how to count them on one of your own categories and decide which few deserve to be found.

You reached the end

Your summary

This guide has 8 quick questions

Try them to see how much you already know. Your first answer is the one that counts.

Start with the first question
Your checklist0 of 6 done
Revisit the section “What to do this week”

E-commerce SEO: 0 of 4 read

  1. 1. E-commerce category pages that rank and sell: not read yet
  2. 2. Product pages that get found and bought: not read yet
  3. 3. Out-of-stock and discontinued products: keep, redirect or remove: this guide, not read yet
  4. 4. Filters and faceted navigation: keep the useful pages, stop the URL explosion: not read yet

0 of 57 guides read · Saved on this device only

New guides by email when they are published.

Unsubscribe in one click.

What to do next

  1. In Search Console, open the Pages report and list every product URL under “Not found (404)” or “Soft 404”.
  2. Run your three most-clicked discontinued products through the four questions and redirect each to its closest replacement, never to the homepage.
  3. Upgrade your most-visited sold-out page with a restock date, an “email me” option and real alternatives.

Find the broken links on your site

Scan up to 50 pages for links that lead nowhere, with the page each one is on.

Scan for broken links

E-commerce SEO

Filters and faceted navigation: keep the useful pages, stop the URL explosion

Your size and colour filters may be creating more addresses than you have customers. Most of them should never be crawled.

22 min readStart reading

See it applied in an illustrative case study

Invented businesses and modelled figures, not client results: how the work in this guide fits into a whole engagement.

See all 75 studies