Out of stock on Shopify? What to do with the product URL
Keep a returning product easy to find, guide shoppers to a genuine replacement and retire old listings cleanly.
Before you change a product’s status in Shopify, decide what a shopper should see when they open that address next week. A temporary stockout, a replacement and a discontinued item each need a different response.
Keep the page live when stock will return
Keep the address shoppers already use and show which variants are sold out. If you have a confirmed restock date, add it. You can also link to an in-stock alternative or offer a stock alert if your shop has one. A candle shop waiting for more amber jars can keep its amber candle page available and show the other jar colours shoppers can order today. Google’s guidance for temporary stockouts.
Open the storefront in a private window and select the unavailable size or colour. With tracked inventory, Shopify normally stops purchases at zero. Check the variant’s Continue selling when out of stock setting and use it only when you intend to take orders and can explain the dispatch timing. Keep availability consistent on the storefront, in any product markup and in your Merchant Center feed if you use one. Shopify inventory settings and Google’s product data guide.
If you want the sold-out page to stay eligible for search, keep it published to the Online Store. Shopify’s Unlisted status keeps the direct URL accessible, adds noindex and drops it from the sitemap. Shopify product status guide.
Redirect an old URL to a clear replacement
When a new product takes the place of the old one, permanently redirect the old address to the closest equivalent. A new 200 g refill in the same fragrance gives returning buyers a useful destination. Update collection links and any buying guides to point straight to the replacement.
Shopify’s built-in URL redirects work once the old URL is broken. Before relying on the redirect, open the old link in a private window and check that you reach the exact replacement product. Shopify redirect instructions.
Remove a permanently discontinued product
If the product has gone for good and there is no comparable replacement, let the old address return a missing-page response such as 404. Remove links to it from your store and check that the old address has left the sitemap. A helpful error page can point visitors to collections they can browse. Google also accepts 410 for a removed page. Google’s guidance on removed URLs.
Test the change from a shopper’s point of view
- Open the old address on a phone and confirm the expected product page, redirect or missing-page response.
- Switch between variants and compare what shoppers see with your stock settings.
- Check one collection and one linked guide for old URLs. Follow our guide to checking a product URL in Google Search Console if Google still shows an old page.