Tap to Call

Out-of-Stock Products and SEO: What to Do (Without Hurting Rankings)

SEO for out-of-stock products

Products going out of stock is a normal part of running an ecommerce website. However, how you handle unavailable products can affect your search engine rankings, organic traffic and, ultimately, sales.

Should you keep out-of-stock product pages live, redirect them to alternatives or remove them altogether? The answer depends on whether the product will return, how well the page ranks and whether you can offer customers a suitable alternative.

In this guide, we’ll explain how out-of-stock products affect SEO, when to keep or remove product pages and how to protect your rankings while helping customers find products they can actually buy.

 

How do out-of-stock products affect SEO?

Removing or redirecting a product page when it goes out of stock might seem sensible. After all, why send customers to something they can’t buy? However, doing so without considering the impact on your ecommerce SEO can cause several problems:

Loss of rankings and traffic: If a product page ranks well in Google, deleting it means losing those rankings and the organic traffic they generate. Redirecting it to another page doesn’t guarantee the same rankings will be maintained, while republishing the original page later doesn’t guarantee they’ll return.

Lost backlinks and broken links: Product pages can attract valuable backlinks from other websites. Deleting those pages means the links will point to a 404 error , potentially losing referral traffic and SEO value. Internal links from categories, blog posts and other pages can also become broken.

Soft 404s: Even keeping a product page live doesn’t guarantee it will continue ranking. Google may sometimes treat out-of-stock pages as soft 404s, meaning it considers the content effectively unavailable and removes the page from search results, despite the URL still working.

Poor customer experience: If someone finds your product through Google but can’t buy it, they may simply leave and shop elsewhere. Equally, removing the page altogether could leave customers facing a 404 error instead of the product they were looking for.

None of this means you should keep every out-of-stock product page live indefinitely. The important thing is to understand whether a product will return, how much SEO value its page has and whether you can offer customers a suitable alternative.

 

Should you keep out-of-stock product pages live?

In most cases, if a product is expected to return to stock, you should keep its page live. This allows you to retain the existing URL, preserve its SEO value and continue attracting potential customers.

However, the right approach depends on how long the product will be unavailable and whether you expect to sell it again.

When a product is temporarily out of stock

If a product is temporarily unavailable due to supply issues, increased demand or delayed deliveries, there’s usually no reason to remove its page. Instead, keep the existing URL live and indexable. This means search engines can continue accessing the page, and customers can still find it through organic search.

Removing the page or redirecting visitors elsewhere creates unnecessary complications. When the product returns, you may need to reverse those changes, and there’s no guarantee the page will recover its previous rankings.

On platforms such as Shopify, you can generally keep a product page published while setting its inventory to zero. This allows customers and search engines to access the page without making the product available to purchase.

Of course, keeping the page live is only part of the solution. You’ll also need to make it clear that the product is unavailable and help customers find alternatives or receive updates when stock returns.

When you’re unsure whether a product will return

Sometimes, it’s unclear when a product will become available again, or whether it will return at all.

In these situations, there’s no need to make an immediate decision to remove the page. Instead, assess whether it still provides value to your business and customers. Consider the following:

Organic traffic and rankings: Does the page attract visitors from Google? Does it rank for valuable search terms?

Backlinks: Have other websites linked to the product page? Removing it could mean losing valuable referral traffic and SEO signals.

Search demand: Are customers still searching for the product, even though it’s unavailable?

Alternative products: Can you recommend suitable replacements that customers can purchase instead?

Likelihood of restocking: Is the product likely to return, or has the supplier effectively discontinued it?

A product page generating consistent organic traffic and attracting valuable backlinks may be worth retaining, even if its future availability is uncertain. On the other hand, a product with no meaningful search visibility, limited demand and little chance of returning may not justify keeping its page live indefinitely.

 

How to improve out-of-stock product pages

Keeping an out-of-stock product page live can help protect its SEO value, but it’s just as important to consider the customer experience. If someone arrives on your website and can’t buy the product they want, you need to give them a reason to stay.

There are several ways to make unavailable product pages more useful:

Clearly communicate stock availability: Display an obvious ‘Out of Stock’, ‘Sold Out’ or ‘Coming Soon’ message near the product price. Disable the add-to-cart button if the item can’t be purchased and, where possible, explain when it’s expected back in stock.

Offer pre-orders, back orders and stock notifications: If you know a product is returning, consider allowing customers to order it in advance with a clear estimated delivery date. Alternatively, offer email notifications when stock returns or wishlist functionality so customers can save products for later.

Recommend relevant alternative products: Show customers similar products that are in stock, focusing on alternatives that are as close as possible to what they were looking for.

Keep the product page useful: Don’t remove product descriptions, images, specifications or other useful information simply because an item is out of stock. Customers may still need these details to compare alternatives, check compatibility or decide whether to wait.

The aim is to help customers find what they need, whether that’s more information about the product, a suitable alternative or a way to find out when it’s back in stock.

 

How should you handle permanently discontinued products?

When a product is permanently discontinued, the decision becomes more complicated. There’s little benefit in attracting visitors who want to buy something you can no longer supply, but removing the page could mean losing valuable organic traffic and backlinks.

The right approach depends on whether a suitable replacement exists and how much SEO value the original product page has.

Redirect discontinued products to suitable replacements

If a discontinued product has been replaced by a newer model or a direct equivalent, a 301 redirect is often the most sensible option.

A 301 redirect automatically sends visitors and search engines from the old URL to the replacement page. It also helps transfer SEO signals, including those associated with backlinks, to the new URL.

Once the redirect is in place, update internal links to point directly to the new product. This includes links from category pages, blog posts and other relevant content.

Consider keeping valuable discontinued product pages live

Not every discontinued product needs to be removed or redirected. Some product pages continue attracting organic traffic long after the product becomes unavailable. Others may have valuable backlinks from reviews, buying guides or other websites.

Before removing these pages, check their performance in Google Search Console and review their backlink profiles.

If a page has significant SEO value, keeping it live may be worthwhile, particularly if it still provides useful information or helps customers find relevant alternatives.

For example, someone searching for a discontinued product might want to check its specifications, find replacement parts or compare it with a newer version.

In these situations, retain the product information, clearly explain that the item has been discontinued and provide prominent links to suitable alternatives.

This can also work well when alternative colours or sizes are still available. Rather than redirecting customers automatically, you can explain which variants remain available and link to them.

When to return a 404 or 410 status

If a product has been permanently discontinued, has no suitable replacement and offers little ongoing SEO value, removing the page is often the right decision.

When a page is removed, the server should return an appropriate HTTP status code:

Neither is inherently bad for SEO. Google expects websites to remove pages occasionally, and these status codes help search engines understand that the content is no longer available.

You don’t need to redirect every deleted product simply to avoid 404 errors. However, you should remove internal links pointing to those pages and update your XML sitemap accordingly.

It’s also worth ensuring your website has a useful 404 page, with clear navigation and links to relevant product categories. This gives visitors who arrive through an outdated external link somewhere useful to go.

Should you redirect discontinued products to category pages?

Redirecting discontinued products to their parent category can seem like an easy way to preserve traffic and avoid broken links. If a product is no longer available but its category contains closely related alternatives, the category page may still satisfy the customer’s needs.

However, this shouldn’t be your default approach. For example, if a particular laptop has been discontinued, redirecting its page to a category of similar laptops could be useful. Redirecting it to a general electronics category containing hundreds of unrelated products is much less helpful.

Search engines may also treat redirects to irrelevant destinations as soft 404s, meaning the redirect may not preserve the SEO value you hoped to retain.

Before redirecting, consider whether the destination genuinely helps someone who was looking for the original product. If it doesn’t, returning a 404 or 410 may be more appropriate than sending visitors to a page that doesn’t meet their expectations.

 

How to manage out-of-stock products on category pages and in site search

Keeping out-of-stock product pages live doesn’t mean they need to appear prominently throughout your website. Customers should be able to find products they can actually purchase without having to scroll through dozens of unavailable items.

There are several ways to manage this:

Prioritise in-stock products in category listings: Display available products first, with out-of-stock items moved to the bottom or excluded from listings entirely. On Shopify, for example, automated collections can use inventory-based conditions to hide unavailable products without unpublishing their pages. If you continue displaying them, use clear ‘Out of Stock’ labels so customers know what’s available.

Update internal search and filters: Configure your website’s search functionality to prioritise available products. Consider adding an ‘In Stock’ filter so customers can exclude unavailable items. However, keep products discoverable when someone searches for a specific name or model number, even if they’re temporarily out of stock.

Review categories with permanently unavailable products: If most or all products in a category have been discontinued, assess whether the category is still worth keeping. Check its organic traffic, rankings and backlinks before deciding whether to update it with alternative products, consolidate it with another category or remove it entirely.

One thing to consider is internal linking. Removing products from category listings can also remove links that help search engines discover those pages. If an unavailable product still attracts valuable organic traffic, make sure it remains accessible through other relevant internal links.

 

Technical SEO considerations for out-of-stock products

Alongside managing the customer experience, there are several technical SEO considerations when products become unavailable. These include keeping structured data accurate, maintaining internal links and XML sitemaps, and making sure search engines can understand which product pages should remain indexed.

Keep Product structured data accurate

Product structured data helps search engines understand important information about your products, including their name, price and availability.

When a product goes out of stock, you should update its structured data to reflect the change. This helps Google understand whether the product is available to purchase, temporarily unavailable or discontinued.

Availability value Meaning
InStock Product is available to purchase.
OutOfStock Product is currently unavailable.
SoldOut Product has sold out.
Discontinued Product has been discontinued.
BackOrder Product can be ordered for later fulfilment.
PreOrder Product is available for pre-order.
PreSale Product is available through a pre-sale.
LimitedAvailability Limited availability.

For example, if a product is temporarily unavailable, its structured data should use OutOfStock rather than InStock.

Make sure the information in your structured data matches what’s displayed on the product page. If customers see an ‘Out of Stock’ message but Google receives structured data saying the product is available, you’re providing conflicting information.

Many ecommerce platforms and SEO plugins can update availability structured data automatically when inventory changes. However, it’s worth checking that this works correctly, particularly if you use custom product templates or inventory management systems.

Update XML sitemaps, internal links and product feeds

When products are permanently removed or redirected, you should also update the technical elements that reference those URLs:

XML sitemaps: Remove URLs that have been permanently deleted or redirected. Your XML sitemap should generally contain live, indexable URLs that you want search engines to discover.

Internal links: Update links from category pages, blog posts and other content to point towards suitable replacement products. Remove links to deleted pages where no replacement exists.

Product feeds: Keep Google Merchant Center and other product feeds up to date. Temporarily unavailable products should have accurate availability information, while discontinued products should be removed from feeds when they’re no longer offered.

It’s particularly important to keep product availability consistent across your website, structured data and product feeds.

For example, if your website says a product is out of stock but your Google Shopping listing indicates it’s available, customers may click through expecting to make a purchase they can’t complete.

A regular technical SEO audit can help identify broken internal links, redirect chains and other issues caused by changes to your product catalogue.

Avoid unnecessary redirects and URL changes

Changing product URLs creates additional work and can put existing organic visibility at risk.

For temporarily unavailable products, keep the original URL rather than redirecting customers elsewhere and reversing the redirect when stock returns.

The same applies to seasonal products and collections. Reusing an established URL is generally preferable to creating a new one each year.

When a product is permanently replaced, use a 301 redirect where appropriate and update internal links to reference the new URL directly.

If you’re restructuring product categories or collections, take care to preserve established URLs, page titles, meta descriptions and useful content wherever possible.

Consider crawl efficiency on large ecommerce websites

For larger ecommerce websites, retaining thousands of permanently unavailable product pages can create additional technical challenges.

Search engines have limited resources available to crawl websites, although crawl budget is generally only a concern for very large websites. If a substantial proportion of your catalogue consists of outdated, low value product pages, search engines may spend time crawling URLs that are no longer commercially useful. On very large websites, this can contribute to crawl inefficiencies, potentially delaying the discovery or recrawling of more important pages.

However, having a large product catalogue isn’t automatically an SEO problem. Google can crawl websites containing thousands or millions of URLs, and removing pages simply to reduce their number is unlikely to deliver meaningful improvements. Instead, focus on identifying product pages that no longer serve a useful purpose.

For larger websites, analyse Google Search Console’s indexing reports and, where available, server logs to understand how search engines are crawling the catalogue before making widespread changes. The objective is to maintain a useful, well organised product catalogue, not simply reduce the number of URLs on your website.

 

Out-of-stock product SEO: Which approach should you use?

There isn’t a single approach that works for every out-of-stock product. The right decision depends on whether the product will return, whether suitable alternatives exist and how much SEO value the page currently has.

The table below summarises the recommended approach for different scenarios:

Product status Recommended SEO approach
Temporarily out of stock Keep the page live and indexable. Clearly communicate availability, recommend alternatives and offer restock notifications.
Temporarily unavailable with an expected return date Keep the page live, display the expected restock date and consider pre-orders or backorders.
Temporarily unavailable with no confirmed return date Assess existing traffic, rankings and backlinks. Keep the page live where it remains useful and review its status regularly.
Seasonal product or collection Preserve the existing URL, update messaging outside the season and reduce its prominence in navigation until products return.
Permanently discontinued with a direct replacement Consider a 301 redirect to the replacement product. Update internal links, XML sitemaps and product feeds.
Permanently discontinued with alternative variants Consider keeping the original page live, clearly explaining its status and linking to available colours, sizes or similar products.
Permanently discontinued with high SEO value Assess whether to retain the page with useful information and alternatives, or redirect to a genuinely relevant replacement.
Permanently discontinued with low SEO value Remove the page and return a 404 or 410 status. Update internal links and XML sitemaps.
Permanently discontinued with no suitable replacement Return a 404 or 410 unless the page continues to provide useful information or has significant SEO value.
Entire category discontinued Review search demand, traffic and backlinks. Consider updating, consolidating, redirecting or removing the category depending on its ongoing relevance.

For smaller ecommerce websites, reviewing individual pages may be manageable. For larger retailers with thousands of products, you’ll need a more consistent approach. As with SEO for large websites generally, the priority is identifying which pages and changes will make the biggest difference.

There’s no single approach to managing out-of-stock products for SEO. Temporarily unavailable products should generally remain live, with clear stock information and suitable alternatives. Permanently discontinued products require more consideration, particularly if their pages attract organic traffic or have valuable backlinks.

The key is to avoid removing or redirecting product pages without first understanding their value. By considering stock availability, search performance and customer experience, you can make informed decisions that protect organic visibility while helping customers find products they can actually buy.

Klaudia Majewska

Klaudia Majewska is an SEO Account Manager responsible for planning, executing and reporting on SEO campaigns across a range of clients. Her work focuses on turning strategy into consistent, measurable performance through clear priorities and ongoing optimisation. Klaudia has a strong technical SEO background and works closely with emerging AI-led search formats. She specialises in making sure products and services are structured and presented in ways that perform across both traditional search results and newer AI-driven search experiences.

Not sure how to handle out-of-stock products?

Protect your search rankings while helping customers find what they need.

Removing or redirecting product pages without a clear plan can lead to lost rankings, broken links and missed sales. We help ecommerce businesses manage their product pages, improve their website structure and resolve technical SEO issues, so customers can find the right products and your website continues to perform.

Speak to Us