Out-of-Stock Product Pages: Keep, Redirect or Remove?
Keep the page while a product is coming back and mark it out of stock; redirect or remove it only when it is gone for good. On Shopify and WooCommerce.
A product sells out. Do you hide the page, delete it, or leave it up? The answer depends on one question: will it come back? This guide covers both cases for Shopify and WooCommerce shops, and what Google and shoppers need from you in each.
If it will come back: keep the page
A product that is out of stock for a while should keep its page and its address. Google’s advice is to keep such pages findable and mark them as out of stock, rather than removing them. The page keeps whatever place it has earned in search, and returning shoppers still find it.
What to show on the page:
- The status, near the price. “Out of stock” or, better, when you expect it back.
- A way to buy anyway, if you can. Baymard found that most shops do not let people order a product that is only temporarily out of stock, and that about a third of test users said they would leave to look elsewhere. If you can take the order and ship later, do it and state the longer delivery time.
- Alternatives. Show similar products the shopper can buy today.
- “Email me when it is back” as an extra, not the only option. Baymard saw these send people away when they were the only choice.
Tell search engines the same thing the page says
If your product pages carry structured data, the availability in it should match the page: OutOfStock, BackOrder or PreOrder instead of InStock. If your theme or a plugin writes this data, check that it follows the stock status.
If you list products in Google Merchant Center, the availability in your feed must match the page and the checkout too. Google turns down products whose feed and page disagree.
If it is gone for good: redirect or remove
For a product you will never sell again, you have two honest choices:
- Redirect the old address to the closest real replacement, such as the new model or the same product in a new size. A permanent redirect (301) tells Google to show the new address instead.
- Let it return “not found” (404) when there is no real replacement. Google drops such pages over time. Google’s older advice is the same: a 404 suits a page that will not have useful content again.
What to avoid is a page that says “not found” or shows nothing useful while still answering as a normal page. Google calls that a soft 404 and reports it in Search Console.
How to do it on your platform
Shopify.
- To keep selling at zero stock: open the product or variant and, under Inventory, turn on “Continue selling when out of stock”. Inventory tracking must be on.
- To redirect a product you no longer sell: set it to Draft or take it off all sales channels, so its address stops working. Then go to Content, Menus, View URL redirects, and create a redirect from the old address to the new one. Shopify only redirects addresses that no longer work, which is why the first step comes first.
WooCommerce. Under WooCommerce, Settings, Products, Inventory you can manage stock, set when a product counts as out of stock, and choose whether out-of-stock items are hidden from your catalogue. Hiding them from category pages is fine, but keep the product page itself up while the product is coming back.
Questions shop owners ask
Should I hide out-of-stock products?
From category pages, if they clutter the list, yes. The product page itself should stay up while the product is coming back, so search engines and returning shoppers can still reach it.
Can I redirect a discontinued product to my home page?
It is better to redirect to the closest replacement. If there is none, letting the page return “not found” is the honest choice. Sending shoppers to an unrelated page does not answer what they came for.
Will an out-of-stock page hurt my search ranking?
Google’s advice is to keep such pages and mark their status clearly, on the page and in its structured data.
Sources
- Google Search Central blog: how to pause your business online (2020)
- Google Search Central blog: faceted navigation (2014)
- Google: HTTP status codes and soft 404s
- Google: redirects and Google Search
- Google: merchant listing structured data
- Google Merchant Center: availability
- Shopify: selling when out of stock
- Shopify: URL redirects
- WooCommerce: product settings
- Baymard Institute: out-of-stock products
Keep reading
The guides beside this one
The guide before
How to Check That Your Shop Counts Each Order Once- Merchant Listings Warnings in Search Console: What They Mean20 November 2026
- Collection Page Descriptions: What to Write Above and Below the Products20 November 2026
- Search Set-Up for a Shopify Shop: Seven Things to Do Once19 November 2026