Lawrence Hitches Written by Lawrence Hitches | AI SEO Consultant | April 02, 2026 | 6 min read

You've spent months building rankings for a product page. It's pulling in organic traffic, earning clicks, generating revenue. Then the product goes out of stock and someone on the ops team deletes the page.

Rankings gone. Backlinks wasted. Traffic lost.

I've seen this happen more times than I can count. It's one of the most common and most preventable SEO losses on ecommerce sites. Here's how to handle out-of-stock product pages without destroying what you've built.

Why Removing Out-of-Stock Pages Kills Rankings

When you delete a product page or let it return a 404 error, several things happen:

  • Google drops the page from the index. All ranking positions for that URL disappear.
  • Backlinks pointing to that URL lose their value. External links that took months or years to earn now point to a dead page.
  • Internal link equity is wasted. Every page linking to that product is now linking to nothing.
  • Users hit a dead end. Anyone clicking from search results, saved links, or social media shares gets a 404. That's a terrible experience.

The damage compounds. Google recrawls the 404, confirms the page is gone, removes it from the index, and redistributes rankings to competitors. By the time the product is restocked, you're starting from zero.

Strategy 1: Keep the Page Live With Updated Messaging

This is the best option for products that will come back in stock.

Keep the product page live with all its original content. Title, description, images, reviews. Add a clear "Currently Out of Stock" notice and offer alternatives:

  • "Email me when back in stock". Capture demand and build your email list
  • "Similar products you might like". Link to alternative products in the same category
  • Expected restock date. If you know when it's coming back, say so

This preserves your rankings, keeps backlinks valuable, and converts visitors who would otherwise bounce. It's the same principle behind good ecommerce conversion SEO. Don't waste traffic, redirect it.

When to Use This Strategy

  • Temporarily out of stock (restocking within weeks or months)
  • Seasonal products that will return
  • Popular products with consistent search demand
  • Pages with backlinks from external sites

Strategy 2: 301 Redirect to the Best Alternative

If the product is permanently discontinued, redirect the URL to the most relevant alternative.

The redirect target should be:

  1. The direct replacement product. If a newer version exists, this is the obvious choice
  2. A very similar product. Same brand, category, and price range
  3. The parent category page. If no close alternative exists

Never redirect to the homepage. A product page redirect to the homepage tells Google nothing about the relationship between pages and is treated as a soft 404. Google essentially ignores the redirect.

When to Use This Strategy

  • Product is permanently discontinued
  • A direct replacement or close alternative exists
  • The page has backlinks you want to preserve
  • The page still gets organic traffic

Strategy 3: Soft 404 (Return a 200 With Helpful Content)

This is a middle-ground approach. The page returns a 200 status code but clearly communicates the product is no longer available while offering alternatives.

Google may still treat this as a soft 404 if the page content is thin. To avoid this:

  • Keep the original product content on the page
  • Add a prominent "This product has been discontinued" message
  • List 4-6 alternative products with links
  • Keep the page in your sitemap (temporarily)

When to Use This Strategy

  • You want to maintain the URL for potential future reuse
  • The product might return in a different form
  • You have a strong alternative recommendation section

Strategy 4: Temporary Unavailable (503 Status)

For products that are very temporarily unavailable (days, not weeks), a 503 status code tells Google the page is temporarily down and to check back later.

This is rarely the right choice for individual product pages. It's more appropriate for site-wide maintenance. Use Strategy 1 instead for individual products.

When to Use This Strategy

  • Extremely short-term unavailability (hours to a few days)
  • Technical issues rather than inventory issues
  • Site-wide maintenance affecting all products

Impact on Category Pages

Out-of-stock products don't just affect product pages. They impact your category page quality too.

A category page showing 30 products where 20 are out of stock is a bad user experience. Google's helpful content signals will pick up on this.

How to Handle OOS Products on Category Pages

  • Push OOS products to the bottom. Show in-stock products first, then out-of-stock items below the fold.
  • Grey out OOS products. Visual distinction makes it clear they're unavailable without removing them from the page entirely.
  • Add an "Out of Stock" label. Clear, prominent, no ambiguity.
  • Consider hiding after a threshold. If more than 50% of products in a category are OOS, consider temporarily hiding the out-of-stock items from the category listing while keeping their individual pages live.

Your site architecture should account for inventory fluctuations. Categories that regularly have high OOS rates may need restructuring.

Monitoring Inventory-SEO Alignment

The gap between your SEO team and your operations team is where rankings go to die. Here's how to bridge it.

Set Up Automated Monitoring

  1. Weekly crawl reports. Run automated crawls to identify new 404s. Cross-reference with your product database to find pages that were removed without redirects.
  2. Inventory feed integration. If your platform supports it, set up alerts when products go out of stock so SEO decisions can be made proactively rather than reactively.
  3. Search Console monitoring. Watch for sudden drops in indexed pages. This often signals bulk product page removals.
  4. Backlink monitoring. Track your most-linked product pages. If any of them go OOS, prioritise keeping those pages live or redirecting to the best alternative.

Create an OOS Protocol

Document a clear process that everyone follows:

ScenarioAction
Temporarily OOS, restocking within 30 daysKeep page live, add "out of stock" messaging + email notification signup
Temporarily OOS, restocking unknownKeep page live, add alternatives, review monthly
Permanently discontinued, replacement exists301 redirect to replacement product
Permanently discontinued, no replacement301 redirect to parent category page
Seasonal product, returning next seasonKeep page live year-round, update messaging seasonally

Print this table and tape it to the wall in your operations team's office. Seriously.

If you need help auditing your current OOS handling or building a protocol, an experienced ecommerce SEO consultant can identify the revenue you're leaving on the table.

Frequently Asked Questions

Should I remove out-of-stock products from my XML sitemap?

If the page is still live (Strategy 1), keep it in the sitemap. If you've 301 redirected the URL, remove the old URL from the sitemap and add the redirect target if it's not already there. If you've set a 404, remove it from the sitemap. There's no point asking Google to crawl a dead page.

How long should I keep a discontinued product page before redirecting?

If there's zero chance the product is returning, redirect immediately. If there's any possibility of restocking, keep the page live for at least 90 days before deciding. This gives you time to assess whether the page still drives traffic and whether the product might return.

Will Google penalise me for having out-of-stock product pages?

No. Google doesn't penalise sites for having out-of-stock products displayed on pages. What hurts you is poor user experience. Pages with no alternative options, no restock information, and no helpful content. A well-designed OOS page with alternatives and notification options is perfectly fine for SEO.

Should I noindex out-of-stock product pages?

Almost never. Noindexing removes the page from Google's index, which means you lose rankings. If the page has any search demand, backlinks, or traffic, keep it indexed and live. Only noindex a page if it's permanently discontinued with zero search demand and zero backlinks. At that point, a 301 redirect is usually the better option anyway.

What about out-of-stock variants (specific sizes or colours)?

Keep the main product page live and show which variants are available. Use structured data (Product schema with availability property) to indicate which variants are in stock and which aren't. This gives Google accurate information without requiring separate pages for each variant's stock status.

Soaring Above Search

Weekly AI search insights from the front line. One newsletter. Six sections. Everything that actually moved this week, with a practitioner's take.

Lawrence Hitches
Lawrence Hitches AI SEO Consultant, Melbourne

Chief of Staff at StudioHawk, Australia's largest dedicated SEO agency. Specialising in AI search visibility, technical SEO, and organic growth strategy. Leading a team of 115+ across Melbourne, Sydney, London, and the US. Book a free consultation →