Every store faces this and most handle it badly, usually by deleting the page.
It feels tidy. The product has gone, so the page should go too. What actually happens is that you throw away everything that page had built. Its rankings, the links pointing at it, the search history it accumulated, and any authority it had earned over months or years.
Handling this well is one of the quieter parts of ecommerce SEO, and the cost of getting it wrong compounds silently across a catalogue.
What a product page is worth beyond the product
A page that has been live for a while is more than a listing. It holds a position in search results, whatever backlinks it earned, internal links pointing at it from collections and content, and a record of what people searched to reach it.
Delete it and all of that goes. A visitor arriving from search or from an old link hits a 404, which is a dead end for them and a wasted visit for you.
The question is never whether to keep the page. It is what the page should say and where it should point.
Tip: Before removing any product page, check whether anything links to it. External links are the clearest reason to keep a page alive in some form.
Temporarily out of stock
The straightforward case. The product is coming back, so the page stays exactly as it is.
What changes is the messaging and the availability signal. The page should say plainly that the item is out of stock and when it is expected back if you know. Your structured data should reflect that too, since availability is part of what search engines read.
Then give the visitor somewhere to go. A back in stock notification captures someone who would otherwise leave. Links to similar products keep them on the site.
What you should not do is hide the page, remove it from navigation, or redirect it. It is coming back, and the page should be ready when it does rather than rebuilt from nothing.
Permanently discontinued
Harder, because there is a real decision to make.
If a clear replacement exists, redirecting to it is usually right. Someone searching the old product almost certainly wants the new one, and the redirect passes the page’s accumulated signals to a page able to use them.
If there is no direct replacement but the category is still relevant, the page should stay live, marked as discontinued, with links to the closest alternatives and to the parent collection. That keeps any search traffic useful rather than dead.
Redirecting everything to the homepage is the mistake worth naming. It helps nobody, it is treated as a soft 404 by search engines, and it wastes whatever the page had.
| Situation | What to do |
|---|---|
| Temporarily out of stock | Keep the page, update availability, offer notification and alternatives |
| Discontinued, clear replacement | Redirect to the replacement |
| Discontinued, no replacement, category still relevant | Keep live, mark discontinued, link to alternatives and parent collection |
| Discontinued, category gone entirely | Redirect to the nearest relevant collection |
| Sale or campaign ended, running again next year | Keep live, add a block pointing to the current or next campaign |
| Never sold, wrong page, thin duplicate | Remove properly |
Seasonal products
Seasonal ranges are the case where deleting is most obviously wrong, and where it happens most often.
A page that sells for three months and sits idle for nine is still accumulating authority during the quiet period, provided it stays live. Deleted and rebuilt each year, it starts from nothing every season and never gets the chance to rank before the window closes.
Keep seasonal pages live year-round. Adjust the messaging when the range is not available and let the page keep its history. By the third year, a page that has survived is ranking before the season starts rather than scrambling during it.
The same applies to seasonal collection pages, which are often the ones removed when a range comes down.
Tip: A seasonal page that has been live for three years usually outranks a competitor’s page built fresh that season. The advantage comes from persistence rather than effort.
Sale and campaign pages
Sale pages follow the same rule. Black Friday, Christmas and end of financial year run every year, and each deserves one permanent URL without the year in it, so the page builds authority each season instead of starting over.
When a sale ends, keep the page live. Add a block at the top saying the sale has finished, and point visitors to whatever is running now or coming next. Once Black Friday is over, that block might say the sale has ended and link to the Christmas sale, or invite people to sign up for early access to it.
That turns a dead page into a working one. It catches late visitors, collects signups for the next campaign, and keeps the page ranking for next year.
The block is the right tool here, not a redirect. Redirecting the Black Friday page to the Christmas page tells search engines the Black Friday page is gone, which throws away its rankings before next November.
Tip: Use a permanent address rather than one ending in the year. A page reused every November keeps its links and history. A new one each year never builds any.
What goes wrong at scale
On a large catalogue this stops being a page-by-page decision and becomes a process problem.
Bulk deletion. A range is retired and someone removes two hundred pages at once. Every link pointing at them breaks, internal links across the site now point nowhere, and the store loses whatever those pages held.
Orphaned pages. The product stays live but drops out of every collection. Nothing links to it any more, so search engines crawl it less and shoppers cannot find it by browsing. It exists and is invisible.
Redirect chains. A product redirects to a replacement, which is later discontinued and redirected again. After three or four rounds the signal weakens and the chain slows the site down.
Stale availability. Structured data marking a product in stock when it sold out weeks ago, because the markup was written by hand rather than generated from the same data the page uses.
The principle underneath all of it
Every page that has been live has value. The question is how to preserve it, not whether to.
A visitor arriving on a page for something you no longer sell should always find somewhere useful to go. A search engine following a link should always find something rather than a dead end. Get those two right and the rest of the decisions follow.
Where the difficulty is
Deciding what to do with one product is easy. Applying it consistently across hundreds, handling bulk range changes without breaking the site, keeping availability accurate as stock moves, and making sure nobody deletes a page that three years of links point at, is a process rather than a task.
That is the work I do. If your catalogue turns over regularly and nobody has decided how retired products are handled, my ecommerce SEO services page explains how I approach it, or request an SEO audit and I will show you what is currently being lost.
For the wider picture, start with the ecommerce SEO guide. For the pages this affects most, see what makes a product page rank and sell.
Frequently asked questions
Should I delete product pages when items sell out?
No. A page that has been live holds rankings, backlinks and internal links, and deleting it discards all of that. Keep it live with clear availability information and links to alternatives, or redirect it if the product is permanently gone and a replacement exists.
What should an out of stock page show?
Clear availability information, an expected return date if you know it, a way to be notified when it returns, and links to similar products. The page itself should stay exactly where it is.
Should discontinued products redirect to the homepage?
No. Homepage redirects help nobody and are usually treated as soft 404s. Redirect to a direct replacement if one exists, or to the nearest relevant collection. If neither fits, keep the page live and mark it discontinued.
What about seasonal products?
Keep them live all year. A page that stays up accumulates authority during the off season and ranks before the next one starts. Deleting and rebuilding each year means starting from nothing every time.
What should happen to a sale page after the sale ends?
Keep it live at the same permanent address and add a block saying the sale has finished, pointing to the current or next campaign or offering signup for it. Do not redirect or delete it, or it loses the rankings it needs for next year.
How does out of stock affect search rankings?
Being out of stock does not remove a page from search, but stale or incorrect availability in your structured data risks losing you rich results. The larger risk is deleting pages, which loses their accumulated rankings and links permanently.
Aashish Maharjan is an SEO specialist focused on ecommerce and international organic growth across global markets. Learn more about my work or request an SEO audit.