SmartEcomSEO
Collections & catalog

Discontinued Products SEO on Shopify: Keep, Redirect or Delete? A Decision Tree

Discontinued products SEO on Shopify comes down to one decision per URL: keep the page, redirect it or let it go. This decision tree maps each choice to the exact Shopify status and redirect settings.

Illustration for “Discontinued Products SEO on Shopify: Keep, Redirect or Delete? A Decision Tree”
Key takeaways
  • Out of stock and discontinued are different problems. A product that is coming back keeps its live page; only permanently discontinued products need a keep, redirect or delete decision.
  • Redirect a discontinued product when the page has backlinks, traffic or rankings and a close replacement or specific collection exists. Never redirect everything to the homepage.
  • Shopify redirects only fire from broken URLs, so archive the product first and add the redirect second.
  • Keep a discontinued page live when people still search for it, as high-ticket owners do for specs, manuals and parts, and point it to the replacement.
  • Shopify returns a 404 for removed products, and Google treats 404 and 410 the same way for indexing, so 410 advice does not apply to Shopify.

Discontinued products SEO comes down to one decision per URL. If the product is coming back, keep the page live. If it is gone for good and the page has backlinks, traffic or rankings, 301 redirect it to the closest replacement or the most specific relevant collection, or keep it live as an information page if people still search for it. If it is gone and has no value, archive it and let the URL return a 404.

On Shopify each of those choices maps to a specific product status and redirect setting, and one detail trips up most stores: a URL redirect only works after the product stops resolving. This guide gives you the decision tree, the Shopify settings for each branch and a cleanup routine for large catalogs.

Out of stock and discontinued are different problems#

Most advice mixes the two. They need opposite treatment.

Out of stock means the product is coming back. The page, its rankings, its reviews and its links should all stay exactly where they are. Removing or redirecting a page for a few weeks of missing stock throws away rankings you will want back when the container arrives.

Discontinued means the product is not coming back in this form. Now the page is a liability or an asset depending on what it has earned, and you need a decision.

In a 2022 SEO office-hours session, Google's John Mueller said an out-of-stock page can be treated like a soft 404 and dropped, unless it still offers useful product information (reported by Search Engine Journal). The practical lesson: a sold-out page needs something useful on it, such as a restock date, alternatives and the full product information.

Temporarily out of stock: keep the page working#

Before you get to discontinued products, make sure sold-out products that are coming back are handled well. Most stores lose more to sloppy out-of-stock pages than to discontinued ones.

  • Keep the product Active and in its collections. Don't archive it, unpublish it or redirect it while you wait for stock.
  • Decide how it should behave at zero stock. Shopify's inventory settings on each variant include Continue selling when out of stock. Turn it on only if you genuinely take backorders or pre-orders, and say so on the page with a ship date.
  • Tell shoppers when it's back. A restock date and a back-in-stock email signup keep the page useful and capture demand you would otherwise lose.
  • Show alternatives. Link two or three in-stock products that do the same job, just below the price.
  • Push sold-out products down, not out. In Shopify Search & Discovery, the out-of-stock setting for storefront search lets you show, hide or list unavailable products last, according to Shopify's search settings documentation. On collection pages, sort order is set per collection or by your theme and apps.

If a product has been "temporarily" out of stock for six months with no date, treat it as discontinued and run it through the decision tree below.

Your Shopify options at a glance#

Shopify gives you more choices than "delete or redirect". Here is what each one does to the URL, based on Shopify's product status documentation and URL redirect documentation.

OptionWhat the URL doesSitemapWhat Google seesUse it when
Active, sold outLive page showing "Sold out"IncludedIndexable pageThe product is coming back
Active with a discontinued noticeLive page, not purchasable, links to replacementIncludedIndexable information pagePeople still search for it, no direct replacement
UnlistedLive only via direct URLRemovednoindex, nofollowExisting customers need the page, Google doesn't
Draft or ArchivedHidden from the storefrontRemoved404, dropped from the indexThe page has no value worth keeping
Archived plus URL redirect301 to the targetRemovedRedirect; signals pass to the targetThe page has links or traffic and a good target exists
Deleted404Removed404Duplicates and junk; prefer archiving otherwise

Two details from Shopify's documentation matter here. Unlisted products get "the noindex and nofollow meta tags" and are removed from the sitemap, while "the product page's URL stays the same". And archived products stay in the collections they belonged to, hidden from customers, so check your automated collection rules after a large archive.

The decision tree#

Work through these questions for each discontinued product. The answers come from Search Console, your backlink tool and Shopify Analytics, and the whole process takes a few minutes per product.

  1. Is the product coming back? Yes: keep it Active, sold out, with a restock date or back-in-stock signup. Stop here. No: go to 2.
  2. Is it one variant of a product that continues? (One color, one size.) Yes: remove or disable the variant. The product URL doesn't change, because variant URLs canonicalize to the product. Stop here. No: go to 3.
  3. Does the page have value? Check the last 12 months: clicks and impressions in Search Console, referring domains in Ahrefs or Semrush, and organic sessions or sales in Shopify. No clicks, no links, no rankings: go to 6. Any meaningful clicks, links or rankings: go to 4.
  4. Is there a direct replacement? A newer model, the same product from a new supplier, the closest equivalent at a similar price. Yes: archive the product, then 301 redirect to the replacement. Stop here. No: go to 5.
  5. Do people still search for this exact product? Model-name searches, "manual", "parts", "specs", "review", "discontinued". Yes: keep the page Active as a discontinued information page with specs, manuals and links to alternatives. Stop here. No: archive and 301 redirect to the most specific relevant collection. Stop here.
  6. No value. Is there an obviously relevant collection? Yes: archive and redirect to it. It costs nothing, and anyone following an old email or bookmark lands somewhere useful. No: archive and let the URL return a 404.

How to find the discontinued products that still earn#

The decision tree needs three numbers per product. Here is where to get them quickly.

  1. Search clicks and impressions. In Search Console, go to Performance → Search results, set the date range to the last 12 months, open the Pages tab and filter by URL containing /products/. Export it and match rows to your discontinued list. Then open a single page to see which queries it ranks for: model-name queries with impressions mean people still search for the product.
  2. Backlinks. In Ahrefs or Semrush, export referring domains for yourstore.com/products/ and match them to the list. One link from a real review site or forum is worth redirecting for.
  3. Revenue and sessions. In Shopify Analytics → Reports, the sessions by landing page and sales by product reports show which pages still bring buyers in, including people who land on the discontinued page and buy something else.

A product with zero on all three is safe to archive. Anything else gets a considered target.

Keep: running a discontinued page that still earns#

This branch matters most for high-ticket brands. Someone who bought a $6,000 sauna or a slate pool table searches for its model name for years: the manual, replacement parts, the heater spec, whether it's worth buying used. Those searches bring people who already trust the brand, and many of them are ready to buy the successor model or accessories.

A good discontinued page keeps:

  • The original title and URL, so existing rankings and links hold
  • The full specs, dimensions and manuals, which is what most of these searchers want
  • A clear notice at the top saying the product is discontinued, with a link to the replacement or the closest alternatives
  • Accessories and parts that still fit, linked from the page
  • Reviews, which remain useful to anyone researching the model

Remove the buy button or set inventory to zero with Continue selling when out of stock turned off, so nobody can order it.

The notice is easiest to manage with two product metafields: a true or false field called custom.discontinued and a product reference called custom.replacement. Then add this to the product template or a custom Liquid block:

liquidliquid
{%- if product.metafields.custom.discontinued.value -%}
  {%- assign replacement = product.metafields.custom.replacement.value -%}
  <div class="discontinued-notice">
    <p>
      <strong>This model has been discontinued.</strong>
      {%- if replacement %}
        Its replacement is the <a href="{{ replacement.url }}">{{ replacement.title }}</a>.
      {%- endif %}
      Specs, manuals and compatible parts are below.
    </p>
  </div>
{%- endif -%}

Your merchandising team can then mark products discontinued in the admin, or in bulk, without touching code.

On structured data: Google's merchant listing documentation supports Discontinued as an availability value alongside InStock and OutOfStock. Most Shopify themes output availability from inventory, so a discontinued product shows as OutOfStock. That is accurate enough. If your theme builds its own JSON-LD, you can use the same metafield to output https://schema.org/Discontinued. Our schema markup service handles this for large catalogs.

Redirect: choosing the target and setting it up on Shopify#

Choosing the target#

In order of preference:

  1. The direct replacement. The 2026 model of the same grill, the same cabinet in the new finish.
  2. A close alternative at a similar price that solves the same need.
  3. The most specific collection. "Barrel saunas", not "Saunas". "4-person hot tubs", not "Hot tubs".
  4. A broader collection, only if nothing more specific exists.

The test is simple: would someone who clicked the old result feel they landed in the right place?

Setting it up: archive first, redirect second#

Shopify's redirect documentation is explicit: "You can redirect only from broken URLs." If the product is still active, the page loads and the redirect never fires. So the order is:

  1. Open the product and set its status to Archived.
  2. Go to Content → Menus, click View URL redirects, then Create URL redirect.
  3. Enter the old path, such as /products/oak-barrel-sauna-2024, and the target, such as /products/oak-barrel-sauna.
  4. Open the old URL in a private window and confirm it lands on the target.

For batches, use the CSV import on the same URL redirects screen. Shopify allows up to 100,000 redirects on standard plans and 20 million on Plus, so a large catalog won't hit the limit.

Also note that when you change a product's URL handle in the admin, Shopify offers a Create a URL redirect checkbox. Leave it ticked.

Retiring a large catalog at once#

When a supplier drops 300 SKUs, build a sheet with one row per product: URL, 12-month clicks, referring domains, revenue, replacement URL, target collection and decision. Sort by clicks and links. The top 10 to 20% usually hold nearly all the value and deserve a hand-picked target. The rest can go to their most specific collection in one CSV import. Our large catalog SEO service runs this process for stores with thousands of SKUs.

Delete: when a 404 is the right answer#

Letting a URL return a 404 is not a failure. Google's HTTP status code documentation explains that it does not index URLs returning a 4xx status and removes ones that were indexed. A 404 is the honest answer for a product that never earned traffic or links and has no sensible replacement.

Much discontinued product advice recommends a 410 instead. On Shopify you don't get a native way to return a 410; removed products return a 404. That's fine: Google's same documentation says that for 404 and 410, its crawlers tell the next processing system "that the content doesn't exist". Don't install an app just to change 404s to 410s.

Make the 404 page useful: search, top collections and best sellers. People who land on it from old emails and bookmarks should have somewhere to go.

Variants, model years and reusing URLs#

Discontinued variants#

If one color of a continuing product is discontinued, delete or disable the variant. Variant URLs such as ?variant=4123... canonicalize to the product, so Google doesn't index them separately and nothing needs redirecting. Our guide to Shopify variants SEO explains how variant URLs work.

Model years#

Grills, e-bikes, fitness equipment and hot tubs change every year or two. If each year's model lives on a new URL like /products/pro-grill-2025, every launch starts from zero and every old page needs a redirect. Where the product line continues, use an evergreen handle such as /products/pro-grill and update the product in place. The URL keeps its links and rankings year after year. Keep a separate page for an old model only if owners still search for it.

Reusing a URL for a close successor#

If the successor is essentially the same product (same size, same category, similar price), updating the existing product is better than a new product plus a redirect. Mention the change on the page so returning visitors understand what's different.

Cleanup after you retire products#

Redirects fix the old URL. These steps fix everything that still points to it:

  • Internal links. Update menus, collection descriptions, blog posts and buying guides that link to the old product. A redirect in an internal link adds a hop for crawlers and shoppers. Our guide to Shopify internal linking shows where links hide.
  • Collections. Archived products stay in collections, hidden. A collection whose products are mostly archived may look thin to shoppers and to Google. Refill it or merge it.
  • Merchant Center. Confirm the product has left your feed so ads and free listings stop pointing to it.
  • Search Console. Over the following weeks, watch Indexing → Pages for new soft 404s and 404s from your sitemap. A soft 404 on a discontinued page usually means it needs more content or a redirect. Our guide to crawled – currently not indexed on Shopify covers the neighbouring statuses.

The discontinued product checklist#

Copy this into your SOP for every product that leaves the range:

  1. Confirm the product is discontinued, not just out of stock.
  2. If only a variant is ending, disable the variant and stop.
  3. Pull 12 months of clicks, impressions, referring domains and revenue for the URL.
  4. Check for model-name searches in Search Console.
  5. Choose: keep as an information page, redirect to the replacement, redirect to the most specific collection, or let it 404.
  6. If keeping: set the discontinued metafield, link the replacement, remove the buy option, keep specs and manuals.
  7. If redirecting: archive the product, then create the URL redirect and test it.
  8. Update internal links in menus, collections, blog posts and buying guides.
  9. Check the collections it belonged to still have enough products.
  10. Confirm it has left your Merchant Center feed.
  11. Two to four weeks later, check Search Console for new 404s and soft 404s.

Discontinued products are a normal part of running a catalog, and the cost of handling them badly compounds quietly: links pointing at 404s, rankings that disappear with each model year, collection pages that thin out. A decision tree applied every time a product leaves the range prevents all three. If you want to see what your organic channel is worth before investing in cleanup, try our Shopify SEO ROI calculator.

People also ask

Questions people ask about this

Should I delete discontinued products on Shopify?

Archive rather than delete. Archiving hides the product from the storefront, so the URL returns a 404 or can be redirected, while keeping its data, images and order history in your admin. Deleting is permanent and gives no SEO advantage, because the URL behaves the same way. Before archiving, check whether the page has traffic or backlinks; if it does, add a 301 redirect to the replacement.

How do I redirect a discontinued product in Shopify?

First set the product to Archived, because Shopify redirects only work from URLs that return a 404. Then go to Content, Menus, View URL redirects, and create a redirect from the old product path to the replacement product or the most specific relevant collection. For many products, import a CSV on the same screen. Test the old URL in a private window afterwards.

Do out-of-stock products hurt SEO?

Not if the page stays useful. Keep temporarily out-of-stock products live with their full description, reviews, a restock date or back-in-stock signup, and links to alternatives. Google has said out-of-stock pages with nothing else to offer can be treated as soft 404s, so a bare sold-out page is the risk, not the out-of-stock status itself.

Is a 404 or a 410 better for discontinued products?

For Google they work the same way. Google's documentation says both tell its systems the content doesn't exist, and 4xx URLs are dropped from the index. Shopify returns a 404 for removed products and has no native 410 option, so there is no need for a workaround. Spend the effort on redirects for pages that have links or traffic instead.

Where should I redirect a discontinued product?

To the page that best answers the same search: the direct replacement first, then a close alternative at a similar price, then the most specific relevant collection. Avoid redirecting everything to the homepage or a broad category. Google can treat irrelevant redirects as soft 404s, and shoppers who land somewhere unrelated leave.

Next step

Want this done on your store?

SEO for Shopify stores with 1,000 to 100,000 SKUs: faceted navigation, variants, crawl budget, programmatic collections with metaobjects and internal linking at scale.

Talk to Zack directlyUsually replies within 24 hours
WeChatSearch this ID in WeChat
WhatsApp +86 186 8214 2136