As your ecommerce store and product range grow, you're inevitably going to have more products going in and out of stock. That's not a problem in itself. Products sell out. Supply chains get delayed. Some products disappear for a few weeks, while others are discontinued altogether.
From an SEO perspective, though, how you manage out of stock products can make a big difference to your website traffic and conversions. A product disappearing from your warehouse doesn't mean the value of its product page suddenly disappears with it. That URL might have built up:
- Rankings for valuable product searches
- Organic traffic
- External backlinks that contribute to the overall site authority
Automatically deleting or redirecting a URL when a product goes out of stock can therefore negatively impact your SEO value unnecessarily. At the same time, keeping an unavailable product prominently displayed across your site isn't particularly useful for customers either. Someone searching for a product generally wants to buy the product. The trick is balancing those two things - preserving the SEO value of the page while giving users a useful experience.
So how should you handle out-of-stock products? Well, unfortunately, there is no silver bullet solution that is going to be the right choice for every out-of-stock product. Instead, you need to categorise products based on which “out-of-stock” scenario they fall into.
Broadly, there are four scenarios:
- The product is temporarily out of stock and will return.
- The product is seasonal and will return later.
- The product has been replaced by a newer or equivalent product.
- The product is permanently discontinued.
Each of these groups of products should be handled differently.
Scenario 1: The Product Is Temporarily Out of Stock
If you know the product is coming back, the approach is relatively straightforward.
1. Keep the Product Page Live
Don't 301 redirect it. Don't 404 it. And don't automatically noindex it simply because inventory has temporarily reached zero.
Google’s John Mueller recommends keeping pages accessible when products are temporarily unavailable rather than removing them from Search entirely.
He said “It is something where what works best for us is if we can keep the URL online for things that are really temporary, in the sense that if the URL remains indexable and with structured data you tell us this product is currently not available. Then we can at least kind of like keep this URL in our index and keep refreshing it regularly to pick up that change in availability as quickly as possible.”
Keeping the page live also means retaining any rankings, backlinks and other SEO value the URL has already built up while you wait for the product to come back into stock.
However, now we are dealing with potential customers who have made it to our website expecting a product that is not in stock - we need to ensure that we keep them informed and engaged and avoid frustrating them to the point that they leave our site with a bad taste in their mouth. The next few steps are crucial to managing this.
2. Show an Out-of-Stock Message
The last thing you want to do at this point is confuse a potential customer - so it’s important to immediately make it clear that the product is temporarily unavailable and, where possible, give customers an indication of when you expect it to return.
If you don’t know exactly when the product will be back in stock, you can also give customers the option to sign up for a notification when the product is back in stock. Zalando is one website that does a great job at this - notice the clear messaging and prominent “set a reminder” CTA.

3. Allow Users to Pre-Order Where Possible
Depending on the product and how confident you are that it's coming back, you could go a step further and allow customers to pre-order it. An out-of-stock product doesn't necessarily have to mean a lost sale.
SEO consultant Freddie Chatt gives the example of one retailer generating more than £3 million in additional annual revenue after introducing pre-orders for temporarily unavailable products.
Obviously, pre-orders won't make sense for every business or every product. But where you know more stock is on the way, they can turn what would otherwise be a dead end into a sale. This is a particularly widely-used and beneficial approach for book shops and also highly anticipated computer games - such as the example from Smyth’s Toys below.

4. Show Alternative Products
Not everyone will be willing to wait for a product to come back into stock. Rather than leaving those users with nowhere to go, show them relevant alternatives that they can buy now.
That might include:
- Similar products
- Other available colours or sizes
- A newer version of the same product
- Products within the same category
The important thing is to give someone a useful next step rather than forcing them back to Google to find an alternative from a competitor. ASOS offer “in stock reminders” just like Zalando but they also include a grid of related products for users who might be in a hurry to buy a certain type of item.


5. Make Sure Your Structured Data Reflects the Stock Status
If you're using Product structured data, your schema should reflect what's actually happening on the page.
For a temporarily unavailable product, for example, the availability property can be changed to "https://schema.org/OutOfStock". Other relevant values include BackOrder, PreOrder, LimitedAvailability, SoldOut and Discontinued.
When the product comes back into stock, the structured data should update accordingly. Ideally, this should happen automatically based on the inventory status in your ecommerce platform rather than requiring somebody to manually update the schema every time stock changes.
6. Keep Your Product Feeds Up to Date
The same applies to any product feeds you're using. If you're submitting products to Google Merchant Center or other shopping platforms, make sure the availability in those feeds reflects the actual stock status on your website. You don't want the website saying a product is out of stock while your product feed is telling Google that it's available to buy.
Ideally, your website, Product structured data and product feeds should all be pulling from the same inventory data so that availability remains consistent wherever the product appears.
7. De-prioritise the product on Category Pages
Keeping the product URL live doesn't necessarily mean it should continue occupying prime real estate across the rest of the site.
Imagine a category containing 50 products where the first 20 are out of stock… I’ve actually seen such cases and it’s not a particularly useful shopping experience. Temporarily unavailable products can instead be pushed further down category pages or, at the very least, visually identified as unavailable.
You can preserve the product page for search engines and people arriving directly while prioritising products customers can actually buy within your category pages and internal search results for users who arrived to your site via other entry points.
Scenario 2: The Product Is Seasonal
Seasonal products are effectively a variation of temporary unavailability. If you sell the same Christmas decorations, Halloween costumes, garden furniture or other seasonal products every year, please please please for the love of God don’t delete the URLs at the end of every season and start again with a new one the following year.
Keep the URLs! Basically follow at least steps 1, 2, 5 and 6 from Scenario 1.
Outside the relevant season, you can reduce their prominence within navigation and category pages while making it clear on the product page when they're expected to become available again.
Then, when the season returns, you already have an established URL rather than asking Google to discover and evaluate a completely new page every year.
The same principle applies to the seasonal category pages themselves. In fact, oftentimes these are even more important. In most cases, /christmas-decorations/ shouldn't disappear every January just because demand has temporarily disappeared with it! Likewise for Black Friday and other seasonal sales - Currys do a great job of this and even update the content to provide more context to customers who might find themselves there at the wrong time of year.

Scenario 3: The Product Has Been Replaced
In a lot of categories, products are regularly replaced by newer models, editions or versions. Think of a hardback version of a book being discontinued to be replaced by its paperback alternative. This often happens 6 to 12 months (and sometimes up to 1 to 2 years) after the initial hardcover launch, once hardcover sales begin to slow down.
In cases like this, 301 redirects become your friend. If Product A has been permanently discontinued and Product B is its direct successor, a 301 redirect from Product A to Product B can make perfect sense.
You're sending both users and search engines somewhere that satisfies broadly the same intent. For example:
This out of stock hardback URL: https://www.vibesandscribes.ie/products/is-a-river-alive-by-robert-macfarlane.html
could reasonably redirect to:
This in stock paperback URL: https://www.vibesandscribes.ie/products/is-a-river-alive-by-robert-macfarlane-tyuh.html
Once the older edition / model / version has been permanently removed, assuming the newer edition / model / version genuinely represents its replacement.
Bear in mind that a 301 redirect isn't a magic SEO-value recycling machine (despite what you might read elsewhere online). The product URL that you're redirecting to should represent a genuinely close (almost exact) alternative to the out of stock product URL.
Scenario 4: The Product Is Permanently Discontinued
There will obviously also be cases where a product is discontinued for good, not just temporarily. If a product is never coming back and there isn't an obvious direct replacement, the initial reflex might be to just delete it. However, that’s not necessarily always the smartest decision, if you don’t want to negatively impact your SEO traffic.
Before deleting a permanently out of stock product you should first check if it is providing SEO value to your website. The last thing you want to do is to delete a page that is contributing to the current SEO value to your website i.e organic traffic, referral traffic of backlink value. So before making the decision to delete the page I would check:
- Organic traffic (via search console or web analytics)
- Referral traffic (via web analytics)
- Backlinks and some authority metric (via a SEO tool like SEranking / aHrefs / SEMrush)
Personally, I would also check on 2 further data points which indicate search traffic potential even if the page isn’t currently providing direct value.. though these are lower-priority optional steps:
- Keyword rankings for the page
- Search demand for key product related terms
If nobody visits the page, nobody links to it and there is no meaningful search demand for the product anymore, it’s probably safe enough to just get rid of it. In that situation, removing the product and allowing the URL to return a 404 or 410 can be perfectly reasonable. You'll also want to remove internal links to it, take it out of your XML sitemap and remove it from relevant product feeds - normally this will be taken care of automatically by your CMS and product feed integration but it’s worth checking.
But suppose the discontinued product page still attracts hundreds or thousands of organic or referral visitors every month. Deleting it simply because you can't sell the product anymore might be throwing away useful traffic.
In such cases, you might simply redirect it to the closest equivalent product or even it’s parent category page. That might work but:
- It’s a weird and frustrating experience for a user who has clicked a link expecting to be brought to a specific product
- Redirecting to a different product or the parent category is highly likely to lead to reduced rankings and traffics over time as Google realises that other pages on competitor sites are more relevant to it’s users
So… there is a third option that can come into play…
Sometimes Keeping a Discontinued Product Page Is the Best Option
This option is particularly useful when you have product pages that are ranking for high volume, high relevance search terms including but not limited to the name of the product itself. Imagine you previously sold a popular camera that's now discontinued but thousands of people might still search for:
- The camera model
- Specifications
- Reviews
- Compatibility information
- Replacement parts
- Accessories
Your product page may continue ranking for those searches long after you stop selling the camera… So why delete it and lose all that potential traffic and those potential customers?
Instead, you could keep the page available while clearly stating something like “This product has been discontinued and is no longer available.”
But you can also provide information about and links to other relevant products. So that might include the newer model (as discussed in Scenario 3) but also similar substitute products, compatible products or products in the same category. Amazon do something along these lines when a product is no longer available.

This won’t always be an appropriate option but the additional manual work required for this approach may well make sense if one of your top traffic driving products is permanently discontinued.
Decision Tree: How to Deal With Out of Stock eCommerce Products Without Damaging SEO

In Summary
From an SEO perspective, having a solid strategy for dealing with out of stock products of various types can be a real competitive advantage for your ecommerce store.
A product page, like any other page on your website, can build up rankings, links, authority and traffic over years. Automatically throwing all of that away because the warehouse happens to be empty this week makes very little sense.
Equally, keeping every product URL you've ever created alive forever isn't much of a strategy either.
So it’s important to understand why the product is unavailable, whether it's coming back and whether the URL still has value then differentiate your approach accordingly.
If you’d like more specific advice on anything related to your e-commerce website, feel free to get in touch!

I'm Darren, founder of SEO by Darren. I develop bespoke SEO roadmaps and implement long term SEO strategies to build organic visibility, traffic and conversions for my clients.

