Skip to main content
web60

SEO & PageSpeed

The Product Went Out of Stock. Now Decide What Happens to the Page.

Eamon Rheinisch··12 min read
Flat illustration of two teal ribbons running across a warm grey ground, separated by a clean gap in the middle before the path continues

Around the middle of August the uniform rails in Irish shops start looking thin, and the sizes everyone actually wants go first. Good trading. It also triggers a decision on the website that most owners never consciously make.

When an item goes out of stock, something has to happen to its page. Somebody deletes it to keep the catalogue tidy. Or unpublishes it, which amounts to the same thing. More often nobody touches it at all, and it sits there saying "out of stock" with no date, no alternative, and no reason for a visitor to come back. Three different answers, three different bills, and the bill does not arrive for about six weeks.

The stock is temporary. The product URL is not.

A product page that has been ranking for a year is not a shelf. It is the result of a year of Google crawling it, watching people click it, watching them stay, and gradually deciding that this URL is a fair answer when somebody types that product name into a search box. That takes months to build. It takes one afternoon of housekeeping to throw away.

Google is unambiguous about what deletion does. In its documentation on HTTP status codes, 404 (not found) and 410 (gone) are treated identically, previously indexed URLs get dropped, and as the page puts it, "newly encountered 404 pages aren't processed" while "the crawling frequency gradually decreases" [1]. There is no penalty in any of that. The page simply stops existing as far as search is concerned.

Now put a shop around it. You restock in September, republish the page, and you are starting from nothing on a URL that Google has just finished forgetting. The competitor who left theirs up, marked out of stock and honest about it, held that position the whole time you were away. Same product, same price, and you are now the second result for something sitting in your own stockroom.

Perspective is worth having here. Online sales are still a modest share of Irish retail turnover, somewhere around 5% overall and closer to 7% once motor trades are stripped out, going by the Central Statistics Office's June figures, and those shares move about by month and by sector [2]. But that measures money taken at an online checkout. It does not measure decisions. Most of the trade in a hardware shop or a schoolwear shop still happens in person, after someone checked online whether the thing was there.

Flat illustration of a row of rounded slots in warm grey, two of them filled in teal and standing out from the rest
Sold out is a state, not a deletion. The slot stays in the row.

Four situations, four different answers

The mistake is treating every sold-out product the same way. A jacket that lands again in three weeks and a model the manufacturer discontinued in 2024 are not the same problem, and the same action is wrong for one of them.

SituationWhat to do with the pageWhy
Temporarily out of stockKeep the URL live, change the messageThe ranking outlasts the gap in stock
Seasonal or annual lineKeep the URL live all year roundIt is earning position for next season now
Discontinued, close replacement exists301 redirect to the replacementThe visitor still wants the job done
Discontinued, nothing comparableLet it return a clean 404Nothing on your site honestly answers it

Temporarily out of stock: keep the page, change what it says

Leave the URL alone. Change the words on it.

Google's own guidance for launching an ecommerce site suggests marking products as out of stock precisely so that "all of your site content, including products, to be indexed" [3], and it adds a warning worth repeating: "Don't disable add-to-cart functionality as a way to stopping users from purchasing products", because Google uses add-to-cart to verify final pricing including tax and delivery. Stripping the buying mechanics out of a page to stop orders is the sort of quick fix that costs you eligibility for the shopping results you were trying to protect.

What should the page actually say? Three things a customer can act on. When it is expected back, even approximately. What else you sell that does the same job. How they can be told the moment it lands, whether that is an email field or your phone number in plain sight.

An out-of-stock page with those three elements is still a working salesperson. Without them it is a closed door with nobody behind it, and a visitor who bounces in four seconds tells Google exactly as much as you would expect.

There is a WooCommerce setting worth knowing about before somebody switches it on for you. Hiding out-of-stock items from the catalogue pulls those products out of your shop and category listings. The product itself is still there, but the internal links pointing at it are gone, and internal links are part of how a search engine keeps finding and valuing a page. For a line that returns in six weeks, that is a lot of quiet damage for a tidier grid.

A reality check worth having: keeping the page indexed means some people will arrive and be unable to buy. That is a genuine cost, not a rounding error. You are trading a small number of mildly annoyed visitors for a position you would otherwise have to rebuild from scratch. Make the trade deliberately, and make the page honest enough that the visit is still worth something to both of you.

Seasonal lines: the page that works hardest when it is empty

Consider a typical case: a schoolwear shop in Meath sells its own crested jumpers for a handful of local schools. The selling window is about five weeks. Then eleven months of nothing.

Delete those pages in October and the shop spends every August rebuilding search visibility it already had. Leave them up, with next term's dates and a line about when ordering opens, and they accumulate authority through the quiet months, so they are already in position when the searches start. The searches always start earlier than the orders do.

That pattern holds for anything with a season. Garden furniture, turf and briquettes, communion outfits, Christmas hampers, festival tickets. The page does its most valuable work when there is nothing to sell.

Discontinued with a replacement: redirect once, and redirect it properly

When a product is genuinely gone but you sell something that does the same job, a 301 redirect to that replacement is the right move. The visitor arrives at something they might buy, and the accumulated value of the old URL carries over.

Where this goes wrong is the shortcut. Redirecting every retired product to the homepage feels efficient and is one of the more expensive habits in ecommerce. Google's guidance on site moves says it plainly: "Don't redirect many old URLs to one irrelevant single URL destination, such as the home page of the new site. This can confuse users and might be treated as a soft 404 error" [4]. A soft 404 is a page that looks like a dead end to Google while returning a success code, and Google handles it much as it handles a real dead end.

For a shop, the practical version is simpler. Redirect to whatever you would hand the customer if they walked in and asked for the discontinued item by name. A specific alternative on the counter means redirect to that product. Pointing them at a shelf means redirect to that category. And if the honest answer over the counter is "sorry, we do not stock anything like that any more", then do not redirect at all.

I told a customer a couple of years ago to unpublish anything they were not currently selling. Tidier catalogue, cleaner navigation, less to maintain. It was the wrong call, and it cost them most of a season's search traffic on a range that came back every spring. Deleting is a decision about the future, not about tidiness, and I now ask what happens in six months before anything comes down.

Flat illustration of a wide teal path splitting into two branches that curve away in opposite directions
Redirect to a genuine substitute, or stop cleanly. The middle option is the one that fails quietly.

Discontinued with nothing comparable: let it go cleanly

Sometimes the honest answer is that the product is gone and you have nothing like it. Let the URL return a 404. Google does not penalise a site for having not-found pages, and pretending otherwise leads shops into redirect chains nobody can maintain.

Make the landing worth something anyway. A not-found page that offers your search box, your main categories and your phone number recovers a proportion of those visitors. The bare "Page not found" screen with a broken layout recovers none of them.

This is also where the honest concession belongs. If your stock is genuinely one-off, a dealer in vintage furniture, a bike shop clearing ex-demo models, a gallery selling single pieces, then hosted storefront platforms that automatically retire and delist a sold item are doing you a real favour. That automation removes a decision you would otherwise face weekly, and no ranking on a one-off product URL is worth that admin. Most shops are not in that position. They sell the same lines season after season, and for them that same automation is quietly deleting the asset.

Tell Google the same story your page tells

Structured data is where this comes apart for a lot of shops, usually without anyone noticing.

Google's merchant listing documentation supports a specific set of availability values, including InStock, OutOfStock, SoldOut, BackOrder, PreOrder, LimitedAvailability and Discontinued, and asks that you do not specify more than one [5]. Most WordPress SEO and ecommerce plugins will output the right value automatically if your stock status is set correctly, which is the argument for keeping stock status accurate in the first place rather than faking it with page text.

If you also run a Merchant Center feed for shopping ads, there are two rules to take seriously. Google states: "Don't set the availability attribute to out_of_stock for products that you're no longer selling. Remove any discontinued products from your product data." And on consistency: "Show a consistent availability across the landing page, structured data (if available), checkout page, and your data source" [6]. A mismatch triggers product disapproval.

Translate that into a Tuesday morning. Your feed says in stock, the page says sold out, and the disapproval notice arrives as an email that looks like every other Google notification you have learned to ignore. You find out when you check why the ads stopped spending, which is usually a fortnight later. Nobody rings you about it.

Being able to fix any of this depends on actually owning the page. You need to edit the template, set a redirect, change availability, and keep the URL as it is rather than as a platform decides it should be. That is ordinary WordPress with full access to the plugin ecosystem, which is exactly what a managed WordPress site with everything included for EUR 60 a year gives a shop, and it is why the platform choice matters more for a shop than it does for a brochure site.

The four-question stock-out decision

Run these in order the next time something sells through. It takes about ten minutes per product and it replaces a guess with a decision.

  1. Verify the page earns something. Open Search Console, filter to that URL, and look at the last three months of impressions and clicks. If it is generating nothing at all, none of the rest of this matters much.
  2. Establish whether the product returns. Ask the supplier rather than assuming. "Coming back", "coming back in a different form" and "gone" lead to three different actions.
  3. Redirect only to a genuine substitute. Where a replacement exists, 301 to it. A category page will do when only the category fits. With nothing suitable at all, let it 404 and improve the not-found page instead.
  4. Sync the availability everywhere it appears. Page text, stock status, structured data and any product feed should agree with each other before you close the laptop.
  5. Diarise the restock. Put the expected return date in your calendar with the URL in the note, so the page gets updated the day the stock lands rather than the week somebody notices.

That last step sounds trivial. It is the one that most often does not happen, and a page still saying "back in early September" in November does more damage than an honest empty shelf ever did. Keeping product pages current is part of the same maintenance habit as writing product descriptions your suppliers did not give you, and it sits alongside speed, caching and the rest of the picture covered in our complete guide to WordPress performance for business owners.

Conclusion

Stock levels change weekly. Product URLs, if you let them, last for years and get more valuable as they age. The shops that come out of a sell-out ahead are the ones that separated those two things in their heads: the item on the shelf is inventory, the page describing it is an asset, and the asset does not have to be written off every time the inventory runs down.

Next time something sells through, the question is not whether to tidy the catalogue. It is whether that URL will still be working for you when the stock lands again.

Frequently Asked Questions

Should I delete a product page when the item sells out?

Not if the product is coming back. A page that has been ranking for months carries search visibility the stock itself does not. Keep the URL live, mark it clearly as out of stock, give an expected return date if you have one, and offer an alternative. Delete it only when the product is gone for good and nothing on your site replaces it.

Is it better to redirect or 404 a discontinued product page?

Redirect when a genuine substitute exists, so the customer lands on something they would actually buy. Let it return 404 when nothing comparable is left. Google treats 404 and 410 identically and does not penalise a site for having them, so a clean not-found is a perfectly respectable outcome.

Does an out of stock page hurt my Google rankings?

Not by itself. Google's own ecommerce guidance suggests marking products as out of stock so that all of your site content still gets indexed. What does cost you is a page with no information: no return date, no alternative, no way to be told when it lands. Visitors leave immediately and that behaviour is visible.

What availability value should I use for a discontinued product?

Google's merchant listing documentation supports Discontinued alongside InStock, OutOfStock, SoldOut, BackOrder, PreOrder and LimitedAvailability, and asks you not to specify more than one value. If you also run a Merchant Center feed, Google is explicit that products you are no longer selling should be removed from the feed rather than marked out of stock.

Should I hide out of stock products in WooCommerce?

Be careful with that setting. Hiding out-of-stock items removes them from your shop and category listings, which strips away the internal links pointing at those product URLs. For a line that is coming back in six weeks, you are better off leaving the product visible with an honest availability message.

How long should I keep a product page after I stop selling the item?

Long enough to check whether it still earns anything. If Search Console shows the URL taking impressions or clicks, or other sites link to it, keep it and repurpose it towards the replacement. Once it has been quiet for several months with nothing pointing at it, retiring the page costs you nothing.

Sources

Eamon Rheinisch
Eamon RheinischSales Director, Web60

Eamon leads sales at Web60 and SmartHost, working directly with Irish business owners making the switch from cheap shared hosting to managed WordPress. With a background in enterprise technology sales — including Oracle and multiple Irish SaaS businesses — he understands the questions Irish SMEs ask before committing to a hosting platform. He writes about hosting comparisons, total cost of ownership, web design for Irish businesses, and how to evaluate what you’re actually buying.

More by Eamon Rheinisch

Ready to get your business online?

Describe your business. AI builds your website in 60 seconds.

Build My Website Free →
Buy NowTry Free
Out of Stock Product Pages: Keep, Redirect or Delete | Web60