Key takeaways

  • A product that is only out of stock for a while keeps its page, its URL and a 200 status. Google says to keep the page and mark it out of stock.
  • Do not noindex it or use the Removals tool. Both take the page out of Google Search.
  • The page, the Product structured data and the product feed should all say the same thing about availability and price.
  • A product gone for good goes to a genuine replacement, then the closest category or a highly relevant page, and only to the home page as a last resort.
  • Write these rules into the product template once, so nobody decides page by page.

Out of stock product pages should stay live. When a product is only temporarily unavailable, keep the page at the same URL, show the status clearly and set its structured data to the right availability value; redirect or remove it only when the product is gone for good. Getting the template to do that automatically is part of technical SEO work for online shops.

I covered stock changes briefly as one step of my ecommerce technical SEO guide, and the rule for discontinued products below is the same one. This article goes into the detail: what the page, the markup and the feed should each say.

I first published this article in 2025 and have rewritten it, removing revenue, click-through and conversion figures I could not trace to any source.

Temporarily out of stock means keep the page

Google’s page on pausing or disabling a website is written for shops that stop selling for a while, and its advice applies to a single product just as well: “It’s better to still allow that page, and mark it out of stock.” It also says to adjust structured data so it reflects the current product availability.

A product page still open on its stand with a small amber sold out ribbon, beside a closed and crossed-out page
Figure 1. Keep a temporarily unavailable product on its page and say so, rather than closing the page.

The same page lists what not to do. Returning an error code, adding a noindex robots meta tag or x-robots-tag header, or using the temporary removal tool in Search Console all take URLs out of Google Search. For a product that is coming back, that is the opposite of what you want.

The reason I hold this line is simple. In my experience, deleting a product page and recreating it later throws away the links it has earned, and the new page starts from nothing when the stock returns. Stable URLs that survive a stockout cost nothing.

Pick the availability value that matches the shelf

Product structured data has a field for this. Google’s merchant listing documentation lists the values it accepts for offers.availability and says “Don’t specify more than one value.” The ones that matter for stock changes:

Situation in the shop Availability value Google’s description
Waiting for a delivery, no orders taken OutOfStock The item is currently out of stock.
Customers can order now, you ship later BackOrder The item is on back order.
Not released yet, orders open PreOrder The item is available for pre-order.
A limited run that has sold out SoldOut The item has been sold out.
The manufacturer or you stopped it Discontinued The item has been discontinued.
Only a few left LimitedAvailability The item has limited availability.

Most shop platforms output this markup already. What I check is that it changes when the stock does, and that it agrees with what the shopper sees: the same price, the same availability. A page that says “out of stock” above markup that says InStock is the kind of mismatch to look for, because it can mean the markup is cached or comes from a different source than the page.

If you also send a product feed to Google, the feed is a third place that must agree. When the page, the markup and the feed come from the same stock field, they stay in step without anyone checking them.

Free tool · SEO ROI Calculator

Is a sold-out best seller worth keeping visible while you restock? Estimate what its main keyword is worth to the shop.

Enter search volume, CPC and your current ranking to estimate traffic, revenue and value for a keyword. Free.

Calculate your SEO ROI →

What out of stock product pages should show

Keeping the page is only half of it. The page still has to be useful, for the shopper and for Google. Google’s guide to troubleshooting crawling errors describes a soft 404 as a URL that returns a page telling the user the page does not exist, while the server says everything is fine. An out of stock template that hides the description, the images and the price, and leaves a near-empty page, gets uncomfortably close to that.

The fault can lie in the theme rather than the decision: a setting that hides the add to cart block can also hide the content around it. What the page should still show:

  • the full description, specifications and images, unchanged;
  • a clear status near the price, in plain words;
  • a restock date only if you actually know it;
  • a way to be told when it is back, if your platform offers one;
  • links to the closest alternatives, such as the same product in another size or the next model.

Keep the product in its category listing with an out of stock label rather than dropping it from every list. If it disappears from all internal links, the page is still live but hard to reach.

Free tool · Ping My URL

Product back in stock, or its page now points to a replacement? Let search engines know the page changed.

Notify Google and other search engines about up to 5 new or updated URLs at once. Free, no sign-up.

Ping your URLs →

When the product is gone for good

Discontinued is a different decision, and I use one order for it:

A discontinued product box with three paths, a bold arrow to a newer model, a thinner arrow to a category shelf and a faint dotted arrow to a small house
Figure 2. For a discontinued product, a genuine replacement comes first, then the closest category or a highly relevant page, and the home page only as a last resort.
  1. A genuine replacement, such as the newer model of the same product: redirect to it with a 301.
  2. No exact replacement: redirect to the closest category or another highly relevant page.
  3. The home page only as a last resort, if there is no closer or highly relevant page.

Google’s crawling errors guide backs the first step: when a page has moved or has a clear replacement on your site, use a 301. It also warns that redirecting nonexistent URLs to an unrelated page, such as your home page, is treated as a soft 404, which is why the home page sits last and should not become the default for a whole range. If a product is removed with no replacement and nothing on the site is genuinely relevant, the same guide says a 404 or 410 is the correct answer.

Some shops keep a discontinued product page live for a while, because customers still look for the manual or the specifications. That works too, as long as the page says plainly that the product is discontinued and the markup uses the Discontinued value.

Rank Check Reports

Changed how your shop handles stockouts and discontinued products? Check where your product keywords rank before and after.

A live Google check of your keywords on desktop and mobile · from $14.99 per check · no subscription · report within one working day

Order a rank check report →

Variants, empty categories and the template

Stock rarely runs out for a whole product at once. Usually one size or one colour goes first. Google’s article on URL structure for ecommerce sites says each variant should be identifiable by a separate URL if you want Google to understand it, and that variant pages should carry the canonical product URL. In that setup, one sold-out variant changes the availability of that variant, not the fate of the product page.

A product template card with a row of colour swatches, one swatch greyed out, and a category shelf beside it with one empty slot and a small closed eye icon
Figure 3. One sold-out variant changes its own availability. An empty category is the case Google suggests noindexing.

Categories are different. The same article says: “If a category has no items, use a noindex robots meta tag.” If your platform removes an empty category from on-site browse and search, it suggests considering a 404 for that page instead. A whole category going empty is rarer than one product selling out, and it deserves a look before the template decides.

That last point matters most. Agree these rules once, write them into the product template and the stock system, and they keep working without anyone deciding page by page. Otherwise each product ends up handled differently by whoever happens to be updating it.

A stockout is a status, not a deletion. The page should say what is true today and still be worth landing on.

Eugen Platon

Eugen Platon

Director of SEO & Web Analytics at onwardSEO
Eugen Platon is a highly experienced SEO expert with 16+ years of experience propelling organizations to the summit of digital popularity. Eugen, who holds a Master's Certification in SEO and is well-known as a digital marketing expert, has a track record of using analytical skills to maximize return on investment through smart SEO operations. His passion is not simply increasing visibility, but also creating meaningful interaction, leads, and conversions via organic search channels. Eugen's knowledge goes far beyond traditional limits, embracing a wide range of businesses where competition is severe and the stakes are great. He has shown remarkable talent in achieving top keyword ranks in the highly competitive industries of gambling, car insurance, and events, demonstrating his ability to traverse the complexities of SEO in markets where every click matters. In addition to his success in these areas, Eugen improved rankings and dominated organic search in competitive niches like "event hire" and "tool hire" industries in the UK market, confirming his status as an SEO expert. His strategic approach and innovative strategies have been successful in these many domains, demonstrating his versatility and adaptability. Eugen's path through the digital marketing landscape has been distinguished by an unwavering pursuit of excellence in some of the most competitive businesses, such as antivirus and internet protection, dating, travel, R&D credits, and stock images. His SEO expertise goes beyond merely obtaining top keyword rankings; it also includes building long-term growth and optimizing visibility in markets where being noticed is key. Eugen's extensive SEO knowledge and experience make him an ideal asset to any project, whether navigating the complexity of the event hiring sector, revolutionizing tool hire business methods, or managing campaigns in online gambling and car insurance. With Eugen in charge of your SEO strategy, expect to see dramatic growth and unprecedented digital success.
Eugen Platon
Check my Online CV page here: Eugen Platon SEO Expert - Online CV.