Every e-commerce site deals with products going out of stock. It’s unavoidable. What separates well-run stores from the rest is whether they’ve got a system for handling those pages – or whether they’re quietly haemorrhaging rankings every time a supplier discontinues a line. The wrong move on a single high-traffic product URL can wipe out months of organic growth. Multiply that across hundreds of SKUs and you’ve got a serious problem.
This guide is an operational playbook. We’ll cover how to assess each product page, which action to take and when, and how to handle discontinuations at scale without burning crawl budget or losing link equity. Whether you’re managing 200 products or 200,000, the decision framework is the same – the tooling just changes.
Why Out-of-Stock and Discontinued Pages Matter for SEO
Product pages accumulate value over time. Backlinks, internal links, keyword rankings, historical engagement signals – all of that sits on the URL. Delete the page or let it 404 without thinking, and you’re not just removing a product. You’re removing everything attached to it.
The knock-on effects:
Lost link equity – Backlinks pointing at dead URLs pass zero authority. Those links took months to earn.
Wasted crawl budget – Google keeps recrawling URLs it knows about. Hundreds of 404s means crawl budget spent on nothing instead of your revenue-generating pages.
Poor user experience – Someone clicks a search result and lands on a 404. They bounce. Lost customer, negative engagement signal.
Index bloat – The opposite problem. Thousands of out-of-stock pages left live with no plan means Google’s crawling pages that can’t convert, diluting overall quality signals.
Temporarily Out of Stock vs Permanently Discontinued
Before you do anything, answer one question: is this product coming back?
That single distinction drives every decision that follows. Getting it wrong is where most damage happens – redirecting a page for a product that returns in three weeks, or keeping a page live for something that’ll never be restocked.
Temporarily out of stock means the product exists in your catalogue and will be available again. Supply chain delay, seasonal restock, high demand clearing inventory – it’s coming back. The URL stays. The page stays. You’re managing the gap.
Permanently discontinued means the product is gone. Manufacturer stopped making it, you’ve dropped the line, or the model’s been replaced. The URL needs a permanent decision: redirect, remove, or repurpose.
Some products sit in a grey area. Default to treating them as temporarily out of stock for the first 90 days. If there’s still no restock date after that, reassess and treat them as discontinued.
The Decision Framework: How to Assess Each Page
Don’t make decisions based on gut feel. Every product page should run through four data checks before you choose an action.
1. Search demand (Google Search Console)
Pull the URL in GSC and check impressions and clicks over the last 6–12 months. If the page is generating meaningful organic traffic – even a few clicks per week – that’s value worth preserving. Look at the queries driving impressions. Are people searching for this specific product? Or is the page ranking for broader terms that another page could pick up?
2. Backlink profile
Check the page in Ahrefs, Moz, or your preferred backlink tool. Any referring domains? High-authority links? A product page with backlinks from editorial sites or industry publications is worth far more than one with zero external links.
3. Revenue and conversion data (GA4)
What was this page actually contributing? Check assisted conversions too, not just last-click attribution. A product page that appeared in the conversion path for other purchases might be more valuable than its direct revenue suggests.
4. Search volume for the product
Use Google Trends or a keyword tool to check whether people are still searching for this product. Discontinued products can maintain search demand for months or even years after they leave shelves – think popular electronics, cult beauty products, or limited-run items.
The quick-reference decision:
| Signal | Keep live | 301 redirect | 404/410 |
|---|---|---|---|
| Organic traffic | Yes, meaningful | Some, but declining | None or negligible |
| Backlinks | Has external links | Has links, better target exists | No external links |
| Revenue contribution | Converted or assisted | Moderate | Zero |
| Search demand | People still search for it | Demand shifting to successor | No demand |
If a page scores well on even one of these, think carefully before removing it. Two or more? Keep it or redirect it – don’t 404 it.
Option 1: Keep the Page Live
When to use this: The product is temporarily out of stock, or it’s discontinued but still gets traffic and has no clear redirect target.
Keeping the page live doesn’t mean doing nothing. You need to manage the page so it’s still useful to visitors and still sends the right signals to Google.
Mark the product clearly as out of stock
Remove the add-to-cart button or grey it out. Display a clear “Currently Out of Stock” or “Temporarily Unavailable” notice. Don’t hide the price – shoppers want to know what it costs when it’s back.
Suggest alternatives
Show related products, the closest equivalent, or the product’s successor if one exists. This isn’t just good UX – it keeps the page commercially useful. A visitor who came for a specific product and finds a genuine alternative might still convert.
Add restock notifications
An “Email me when this is back in stock” form does two things: it captures a lead, and it tells the visitor you expect the product to return. If your platform supports it (Shopify, WooCommerce, and Magento all have plugins for this), it’s a quick win.
Keep it in your XML sitemap
If the page is live and returning a 200 status code, it belongs in the sitemap. Don’t remove it just because the product is temporarily unavailable.
Update the schema markup
Change the `availability` property in your Product schema to `https://schema.org/OutOfStock`. This tells Google (and Google Shopping) the current status without removing the page from the index. More on this in the schema section below.
Option 2: 301 Redirect to the Best Alternative
When to use this: The product is permanently discontinued and there’s a clearly relevant page to redirect to.
A 301 passes the majority of the original page’s link equity to the destination URL. Cleanest way to preserve value from a page you no longer need.
Choosing the redirect target
The redirect needs to make sense for the user who would have landed on the original page:
Best option: The direct successor or replacement product. If Model X was discontinued and Model X2 replaced it, redirect there.
Good option: The parent category page. Someone searching for a specific discontinued running shoe lands on the running shoes category – that’s reasonable.
Bad option: The homepage. This is a soft 404 in Google’s eyes. It doesn’t match the user’s intent, and Google may ignore the redirect entirely.
Worse option: A completely unrelated product page. Redirecting discontinued headphones to a phone case page isn’t a redirect – it’s a dead end with extra steps.
Avoid redirect chains
If you’re redirecting Product A to Product B, make sure Product B isn’t itself redirected somewhere else. Chains slow crawling and dilute link equity with each hop. Audit periodically to catch them before they stack up.
Update internal links
After setting up a redirect, find and update any internal links that pointed to the old URL. The redirect handles it technically, but direct internal links to the correct URL are always better for crawl efficiency.
Option 3: Return a 404 or 410
When to use this: The product is permanently discontinued, has no meaningful traffic or backlinks, and no relevant redirect target exists.
Not every page is worth saving. Zero organic traffic, no backlinks, no search demand? Let it go. Don’t over-engineer redirects for pages nobody visits.
404 vs 410 – what’s the difference?
A 404 tells search engines the page wasn’t found. Google will recrawl it periodically to see if it comes back. A 410 tells search engines the page is deliberately gone and isn’t coming back. Google will drop it from the index faster.
For discontinued products you’re certain about, 410 is the better signal. It’s cleaner and saves crawl budget in the long run because Google stops checking.
Custom 404 pages matter
Whatever you do, make sure your 404 page is useful. Show a search bar, link to popular categories, and suggest alternatives. A well-designed 404 page recovers some of the visitors who’d otherwise bounce.
Schema Markup: ItemAvailability Values
Your Product structured data should always reflect the current availability status. Google uses this information for rich results and Shopping integrations.
The key `ItemAvailability` values you’ll use:
| Value | When to use |
|---|---|
| `https://schema.org/InStock` | Product is available and ready to ship |
| `https://schema.org/OutOfStock` | Temporarily unavailable, expected to return |
| `https://schema.org/PreOrder` | Not yet released, available for advance purchase |
| `https://schema.org/BackOrder` | Out of stock but can be ordered for future delivery |
| `https://schema.org/Discontinued` | Permanently discontinued, won’t return |
| `https://schema.org/LimitedAvailability` | Low stock or limited quantities |
| `https://schema.org/SoldOut` | Sold out with no restock planned |
A common mistake is removing the entire `Offer` element from the schema when a product goes out of stock. Don’t do this. Keep the `Offer` and update the `availability` value. Removing the `Offer` entirely means Google loses the pricing and availability signal, which can affect your eligibility for rich product results.
For temporarily out-of-stock items, use `OutOfStock` or `BackOrder`. For permanently discontinued products where you’re keeping the page live, use `Discontinued`.
What Happens to Category Pages When Products Go Out of Stock
This is the knock-on effect most teams overlook. When products within a category go out of stock, the category page itself degrades.
A category page that once listed 40 products now shows 12. The page is thinner. The internal linking structure weakens because there are fewer product links. If enough products disappear, the category page starts looking sparse to both users and search engines.
How you handle this matters for your broader e-commerce SEO strategy. For a deeper look at optimising category pages specifically, including how to manage product counts and filtering, see our guide to category page SEO.
The quick fixes: keep out-of-stock products visible in the category listing but clearly marked, push them to the bottom of the results, or show a “temporarily unavailable” badge. This preserves the page’s depth without misleading shoppers.
Google Shopping and Merchant Center Feed Implications
Your product feed and your website need to agree. If your site shows a product as out of stock but your Merchant Center feed still lists it as available, you’ll get disapprovals – and repeated violations can get your entire feed suspended.
Keep your feed in sync
Most platforms can automate this. Shopify, WooCommerce, and Magento all support dynamic feed generation that pulls live stock status. If you’re using a third-party feed tool like DataFeedWatch or Feedonomics, make sure the sync frequency is high enough. Daily minimum. Hourly for fast-moving inventory.
What happens to Shopping ads for OOS products
Google automatically stops showing Shopping ads for products marked as out of stock in your feed. But there’s a lag. If stock changes happen between feed updates, you’re paying for clicks on products people can’t buy.
Preorder and backorder options
If a product is available for preorder or backorder, you can still run Shopping ads – just make sure the feed reflects the correct availability status and your landing page matches. Mismatches between the feed and the page are a common disapproval trigger.
Handling Seasonal Products
Seasonal products – Christmas lines, summer collections, Black Friday exclusives – need a different approach entirely. Deleting and recreating product pages every season throws away all the SEO equity those pages built.
Use evergreen URLs
Don’t put the year in the URL. `/christmas-gift-hamper/` beats `/christmas-gift-hamper-2025/` every time. Next year, you update the content and products on the same URL rather than starting from scratch.
The show/hide approach
Between seasons, keep the page live but adjust it:
Update the title and copy to reflect that the product is seasonal and will return (e.g., “Back in stock October 2026”)
Remove the add-to-cart button
Add an email notification form for when the season starts
Keep it in the sitemap
This way, the page retains its rankings and backlinks through the off-season. When the product comes back, you flip the switch and you’re immediately visible – no waiting months for Google to re-index and re-rank a new URL.
Avoid noindex on seasonal pages
Some guides recommend noindexing seasonal pages in the off-season. That’s risky. If Google processes the noindex and drops the page, there’s no guarantee it’ll come back quickly when you remove the tag. Keep it indexed. A live page that says “coming back soon” is better than a page that’s been dropped from the index.
Bulk Handling at Scale
Everything above works fine for individual products. But what do you do when a supplier discontinues an entire product line and you’ve got 2,000 SKUs to deal with at once?
Prioritise by value, not by volume
Export your product URLs and enrich the list with:
Organic traffic (last 12 months from GA4)
Referring domains (from your backlink tool)
Revenue and assisted conversions
GSC impressions and clicks
Sort by total SEO value. The top 10–20% get individual attention – manual redirect mapping to the best target. The bottom 80% can be handled in bulk.
Bulk redirect rules
For the long tail of low-value discontinued pages, map them to their parent category. If you’ve got 500 discontinued products across 20 categories, that’s 20 redirect rules, not 500. Most CMS platforms and CDNs (Cloudflare, Nginx, Apache) support regex-based redirect rules that can handle this efficiently.
Mass 410 for zero-value pages
If a large batch of pages has no traffic, no backlinks, and no revenue, returning 410 in bulk is fine. Create a list, implement the rules, and submit the updated sitemap to GSC. Google will process the removals over the following weeks.
CMS and platform automation
Set up rules in your CMS:
When a product status changes to “discontinued,” automatically update the schema to `Discontinued`
After 30 days with no restock date, flag for redirect review
After 90 days, if no redirect has been assigned and traffic is zero, auto-410
This removes the manual bottleneck. Your SEO team reviews the flagged pages rather than monitoring every single product status change.
Monitoring and Prevention
The real cost isn’t the individual redirect decision. It’s the pages that slip through without anyone noticing – sitting as soft 404s, live with broken add-to-cart buttons, or redirecting to products that themselves got discontinued six months ago.
Scheduled crawls
Run a full site crawl weekly (Screaming Frog, Sitebulb, or your crawler of choice). Filter for:
Pages returning 404 or 410 that are still in the XML sitemap
Redirect chains longer than one hop
Pages with “out of stock” in the body text that still have `InStock` schema
Product pages with no `Offer` element in their structured data
Google Search Console monitoring
Check the Pages report in GSC regularly. Look for:
Spikes in “Not found (404)” or “Soft 404” errors
Pages that were indexed and have dropped out
Crawl anomalies on product URL patterns
Set up GSC alerts if your platform supports it, or build a simple script that pulls the API data weekly and flags changes.
Stock status tracking dashboard
Connect your inventory management system to a reporting dashboard that tracks:
Number of products currently out of stock
How long each product has been OOS
Products that have been OOS for more than 30, 60, and 90 days
Products with high organic traffic that are currently OOS (these need immediate attention)
This shifts your approach from reactive to proactive. Instead of discovering a problem when rankings drop, you catch it when the stock status changes. The best product page SEO isn’t just about optimisation – it’s about maintaining what you’ve already built.
Building the System, Not Just Fighting Fires
Handling out-of-stock pages well isn’t a one-time project. It’s an ongoing process that sits between your SEO team, your merchandising team, and your inventory system. The sites that do this best aren’t the ones with the cleverest redirect rules – they’re the ones where stock status changes trigger an automatic workflow that assesses, flags, and acts before any damage is done.
Start with the decision framework. Audit your current discontinued and OOS pages against the four criteria. Fix the backlog. Then build the monitoring that stops it from growing again.