Every store has products that sell out, and sooner or later some that will never come back. What you do with those pages affects two groups at once: customers who arrive on them, and search engines that have indexed them. The usual mistakes run in both directions. Some stores delete sold-out pages too quickly and lose traffic and links they spent months building. Others leave discontinued products live for years, with a “Sold out” button and no way forward.
The right choice depends mostly on one question: is this product coming back?
Key takeaways
- Do not delete a page just because the product sold out. Temporary stockouts are normal.
- Make the status obvious near the price and the buy button, not only in small print.
- Always give a next step: a signup form, a similar product or the relevant collection.
- Redirect only to genuinely relevant pages. Sending every old product to the homepage helps nobody.
- Keep availability consistent across the visible page, structured data and product feeds.
Three situations, three approaches
| Situation | Keep the page? | What to show | Search engines |
|---|---|---|---|
| Temporarily out of stock, returning | Yes | “Sold out” status, expected date if known, back-in-stock signup, alternatives | Leave indexable; mark availability as out of stock or back order |
| Seasonal or uncertain return | Usually yes | Explanation (“returns each autumn”), signup, related products | Leave indexable while the page is useful |
| Permanently discontinued | Depends | Successor product, alternatives, or an archive page with support information | 301 to a close replacement, keep as a useful archive, or let it return 404/410 |
Temporarily out of stock: keep the page working
A page for a product that is coming back still has a job: to keep the customer interested and capture their intent.
- State the status clearly. “Sold out” or “Out of stock” next to the price, and a disabled or replaced buy button.
- Give a date if you have a reliable one. “Expected back in early May” helps people decide whether to wait. If you do not know, do not guess.
- Offer a back-in-stock signup in place of the buy button. Our back-in-stock notifications guide covers placement, consent and what to do when the restock is small.
- Consider preorders if the return date is confirmed. See preorders vs back-in-stock waitlists for when that is the better choice.
- Show alternatives, such as the same item in another color, a similar product or the collection it belongs to. Choose them by hand for important products rather than relying only on automatic recommendations.
- Keep the content. Do not strip the description, photos or reviews. The page still needs to rank and to convince people when stock returns.
On collection pages and search
Many stores move sold-out products to the end of collection pages so shoppers see buyable items first. That is usually better than hiding them completely, which can make returning customers think the product is gone for good. In internal site search, keep sold-out items findable, because someone searching for the exact name wants to know its status.
Sold-out variants on an in-stock product
When only one size or color is out, keep the product page as it is and mark the variant clearly, for example greyed out or with “sold out” beside the option. Let customers still select it so they can sign up for an alert for that variant. Avoid hiding sold-out variants completely; customers then assume you never made their size.
Seasonal and uncertain products
Products that return every year, such as holiday items or seasonal clothing, often have pages that rank well because they have existed for years. Keep them live off season with a short note (“Back in stock each October”) and a signup. Removing and recreating the page each year throws away the history it has built.
If you genuinely do not know whether a product will return, keep it live with an honest note and alternatives for a while, then decide. A page that says “currently unavailable” for two years is not doing anyone favors.
Permanently discontinued products
Once you know a product will not return, the decision depends on what the page is worth.
When there is a direct replacement: 301 redirect
If a new version replaces the old one, or there is a product that does the same job, redirect the old URL to it with a 301 (permanent) redirect. Customers with old links or bookmarks land somewhere useful, and search engines generally pass the old page’s signals to the new one.
- Redirect to the closest match, usually the successor product or a very similar item.
- If no single product fits, the most specific relevant collection or category is the next best option.
- Avoid redirecting to the homepage. Search engines may treat mass redirects to an unrelated page as a “soft 404”, and customers end up confused.
- Mention the change on the new page if it helps: “This replaces the Model A, which has been discontinued.”
When the page still has value: keep an archive page
Some discontinued products keep attracting visitors: people looking for manuals, care instructions, spare parts, sizing or reviews before buying second-hand. If the page has meaningful traffic, links from other sites or support value for past buyers, consider keeping it as an archive:
- A clear “Discontinued” label at the top.
- The specifications, care information or manual links customers need.
- Links to the closest current alternatives.
- No buy button and no misleading stock status.
When the page has no value: 404 or 410
If the product had no traffic, no links and no meaningful content, letting the URL return a 404 (not found) or 410 (gone) is acceptable. Search engines treat the two similarly; a 410 states more explicitly that the removal was intentional. Make sure your 404 page is helpful, with search and links to main collections. In practice, this should be the least common outcome for products that ever sold well.
A note on platforms
On many platforms, archiving, unpublishing or deleting a product makes its URL return a 404. If you want a redirect, you usually need to create it separately. On Shopify, for example, URL redirects are managed in the admin and generally only take effect when the original URL no longer resolves to a live page. Check how your platform handles this before you archive large numbers of products, and keep a list of the redirects you create. If you are moving the whole store to a new platform, our platform migration checklist covers mapping old URLs to new ones.
Structured data and product feeds
If your product pages include structured data (schema.org Product markup, which most modern themes add automatically), it includes an availability value inside the offer. Common values include:
| schema.org availability | Use when |
|---|---|
| InStock | The item can be bought and shipped |
| OutOfStock | Temporarily unavailable |
| BackOrder | Orders accepted, shipped when stock arrives |
| PreOrder | Orders accepted before the product is released |
| Discontinued | The product is no longer made or sold |
Practical points:
- Keep structured data in sync with the page. If the page says “Sold out”, the markup should not say InStock. Most themes handle this automatically, but custom code and some apps can break it.
- Product feeds must match too. Shopping feeds, such as the one you may send to Google Merchant Center, use their own availability values and expect them to match the landing page. Mismatches can cause products to be disapproved.
- Test a few pages with a structured data testing tool after theme changes or app installs.
- Do not mark everything InStock to keep listings live. It misleads shoppers and can cause problems with shopping listings.
Internal links, sitemaps and housekeeping
- Update internal links from blog posts, menus and other product pages that point to discontinued products. Redirects work, but direct links are cleaner.
- Sitemaps: most platforms update them automatically. Products that return 404 should drop out; redirected URLs should not stay listed.
- Ads and email: pause ads and remove links in automated emails that point to products you have discontinued.
- Keep a discontinued list with the date, the reason and what the URL now does (live, archive, redirect or removed).
Decision checklist
- Will this product come back? If yes, keep the page live with a signup and alternatives.
- If not, is there a direct replacement? If yes, 301 redirect to it.
- If not, does the page have links, traffic or support value? If yes, keep an archive page.
- If not, let it return 404 or 410, make sure your 404 page helps, and clean up internal links.
- In every case, make sure the visible status, structured data and product feeds agree.
FAQ
Do out-of-stock pages hurt SEO?
Not by themselves. A temporarily out-of-stock page with good content and accurate availability can keep its rankings. Problems come from removing pages too quickly, redirecting everything to the homepage or leaving thin, abandoned pages live for years.
Should I noindex sold-out products?
Usually not for temporary stockouts, because the page will be needed again when stock returns. For permanently discontinued products, a redirect or a useful archive page is generally a better choice than leaving a noindexed page with nothing to offer.
How long should I wait before treating a product as discontinued?
Base it on what you know, not on a fixed number of days. If the supplier has confirmed the product is ended, act now. If you are unsure, keep the page with an honest note and review it regularly.
Bottom line
Keep pages for products that are coming back, and make them useful with a clear status, a signup and alternatives. When a product is gone for good, redirect to a genuine replacement, keep an archive if the page still helps people, and only let it disappear when it has no value. Whatever you choose, make the page, the structured data and your feeds tell the same story.



