Out of stock product pages: keep, redirect or retire

You have a product that just sold out. Your choice now decides if you keep rankings, pass them on, or waste them. This guide gives the rule, the page changes to make, and the redirects to use.

By , founder of Porteur · Updated 14 September 2026 · Markdown

Decide first: temporary or permanent

Decide in one minute. Is this product coming back, yes or no. If you sell a near match, note the closest alternative now.

  • Temporary: on order, back soon, supply delay, size or colour out, seasonal item due next season
  • Permanent: discontinued by you or the maker, never returning, superseded by a new model

This choice sets the URL’s fate. Keep and update for temporary. Redirect or retire for permanent. Do not guess. Ask your buyer or supplier if needed.

If temporary: keep the page live and mark it unavailable

Keep one URL per product. Do not create a new URL for the same item later. Keep the canonical as itself. Keep it indexable.

  • State “Out of stock” near the price on the page
  • Add Product structured data that includes an offer with the status set to unavailable
  • Leave the title tag and h1 as the product name, do not add “Sold out” there
  • Keep images, description, reviews, specs and breadcrumbs
  • Add a short note on expected return if you know it

Example. Before: /products/blue-mug shows price and “Add to cart”. After: the button is disabled, “Out of stock” is shown, and the page offers two close alternatives.

  1. Update structured data

    Use Product with an offer that shows availability and price. Keep reviews and images. Check it with Google’s Rich Results Test.

  2. Keep the URL crawlable

    No noindex. Keep it in your XML sitemap. Let Google recrawl and see the status.

  3. Show real alternatives

    Link to the closest in-stock products. Use the same category or a “Similar mugs” block with 2 to 6 items.

  4. Capture intent

    Add a “Notify me” form. Make the button label clear: “Email me when back in stock”. Keep it above the fold.

Why this matters. People still search for the product name. Google can keep showing the page in Search and Images. You keep reviews and links on one URL.

What to show on a temporary out of stock page

  • A clear stock status near the price and button
  • A disabled add to cart with a signpost: “Out of stock”
  • A “Notify me” form that works without pop ups or third party redirects
  • Two to six close alternatives, with images and prices
  • A link to the parent category, “See all mugs”
  • Variant handling: show in-stock variants first

Avoid thin pages. Do not strip content when stock is gone. Keep the description, specs, images and reviews. This keeps the page useful and indexable.

If only some variants are out. Keep one product page. Either give variants their own URLs when there is search demand, or keep one canonical to the parent. Stay consistent, as of 2026 this aligns with Google’s e-commerce guidance.

If permanent: redirect or retire it cleanly

A product that will never return should not sit live with no stock forever. Choose a 301 redirect or a 410 Gone.

CaseActionTarget URLResult in Search
Superseded by a direct replacement301 redirectNew product pagePeople and signals go to the new item
Closest alternative exists301 redirectNearest in-stock product or the parent categoryKeeps users in flow and passes signals
No suitable alternative410 GoneNoneSearch can drop the URL over time

Pick the closest match. If that is unclear, use the parent category. Do not chain redirects. Point old to new in one hop. Update all internal links to the new target now.

  1. Map the old URL

    List /products/blue-mug as gone for good.

  2. Choose the destination

    If /products/navy-mug is the nearest, use that. If not, use /collections/mugs.

  3. Create the 301

    Set a permanent redirect. In Shopify use URL redirects in admin. Avoid 302 for permanent moves.

  4. Fix links

    Change links in menus, categories, blogs, emails and ads. Remove the old URL from featured blocks.

  5. Remove from feed

    Take the discontinued item out of your Merchant Center feed so listings stay accurate.

Use 410 Gone only when there is no replacement at all. It is a clear end state. The page will fall out of the index in time and free crawl budget for other pages.

Seasonal, preorders and long backorders

Seasonal items return on a predictable cycle. Keep the URL live all year. Mark it out of stock off season. Link to the evergreen category and the closest all-year product.

If you collect preorders. Say “Preorder” and the expected ship window on the page. Keep the Product structured data aligned with the offer status and price. Do not promise a date you cannot meet.

For long backorders. Keep the page live. Set expectations. Use the notify form. If buyers must choose another item, push the closest alternative higher on the page for now.

What Google shows in each case

  • Kept live and marked unavailable: the page can appear in Search and Images. Product data can help rich results when eligible.
  • Feed-driven surfaces: Merchant Center free listings read your feed, which must match the page’s price and availability.
  • 301 to a close match: the target can inherit demand and links. The old URL can drop as Google crawls and sees the redirect.
  • 410 Gone: the URL can drop once recrawled. Expect any residual impressions to fade.

Your Business Profile is separate. Stock status shown there depends on your local integrations. Keep your product feed and page in sync to avoid mismatch across surfaces as of 2026.

Structured data and feeds: keep them in sync

Google supports Product structured data with offers, availability, price and reviews. It also supports product data by feed via Merchant Center. Keep both aligned.

  1. Update the page first

    Change the UI to show out of stock. Disable purchase. Keep images and specs.

  2. Update structured data

    Set the offer to show the true availability and price. Keep the same product identifier and image URLs.

  3. Update your feed

    Send the same availability and price to Merchant Center. The feed must match the page content.

  4. Validate

    Use Google’s Rich Results Test and Merchant Center diagnostics. Fix mismatches and missing fields.

If you cannot maintain both yet, prioritise the page accuracy. Do not show “In stock” in one place and “Out of stock” in another. That creates trust issues and can cause feed errors.

Platform notes: Shopify and common setups

Shopify uses fixed URL patterns: /products/handle, /collections/handle, and /collections/handle/products/handle with a canonical to /products/handle. Leave that canonical in place.

  • Use Shopify URL redirects for 301s when you retire a product
  • Check your theme outputs Product structured data with an offer and availability
  • Alt text is per image, keep it for out-of-stock variants too
  • Robots.txt is editable via robots.txt.liquid if you must disallow messy facet parameters
  • Shopify builds sitemap.xml for you, keep discontinued items out by redirecting or 410, not by noindex

If tags or vendor pages create thin URLs on your store, remove their links or noindex them. Keep crawl budget for products and categories that matter.

Monitor and tidy: when to switch state

  1. Watch demand

    In Search Console, check the product URL’s impressions. If they hold steady and stock is due back, keep the page. If they fall to near zero and the item will never return, plan a redirect.

  2. Set a review date

    For temporary outages, set a 30 to 60 day check. If supply changes, update the page and structured data the same day.

  3. Sweep alternatives

    Every month, replace outdated “Similar items” with current in-stock products. Do not link to other out-of-stock items.

  4. Reconcile feeds

    Fix any Merchant Center mismatch warnings the day you change stock status on the page.

  5. Clean backlinks

    If a retired product has strong links, 301 it to the closest live page. Check it with a redirect checker and your analytics later.

A fixed page looks like this. /products/blue-mug is out today. It shows out of stock, a notify form, two close alternatives, and has Product structured data with an unavailable offer. When stock returns, you switch the status back and restore the add to cart. Everything else stays in place.

Questions

Sources

Check my site, free

Paste a product URL and we will read your site and rivals, then show three findings on how to handle out-of-stock pages in about thirty seconds, free.

  • Free check, no card
  • Read-only, your own accounts
  • Readable by your agent

Read next