Skip to content
Shopify SEO Organic Cart Studio Journal

How to Fix 404 Errors After Deleting Shopify Products

September 3, 2026 · Mustajab Haider Bukhari

To fix 404 errors after deleting Shopify products, redirect an old URL only when a close replacement satisfies the same shopper intent. If no useful replacement exists, keep a true 404 and remove links to it. This decision is part of sound Shopify SEO, not a reason to send every deleted product to the homepage.

The difficult part is not creating a redirect. Shopify makes that straightforward. The difficult part is deciding which deleted URLs deserve a redirect, where each should lead, and which ones should remain gone. A bad redirect may look tidy in a crawl report while confusing both shoppers and search engines.

Quick Answer

Export or collect the deleted product URLs, check whether each URL has traffic, backlinks, or a genuine replacement, and assign one of four actions: restore the product, redirect to a close substitute, redirect to a relevant consolidated page, or return a proper 404. Then update internal links and verify the result.

Deleted product situationBest actionAvoid
Same product moved to a new URL301 redirect to the new productLeaving both URLs accessible
Near-identical replacement serves the same need301 redirect to that replacementRedirecting to an unrelated bestseller
Several products consolidated into one current model301 redirect to the consolidated productSending users to a broad homepage
No replacement and no equivalent intentReturn a true 404Creating a soft 404
Product was deleted by mistakeRestore it at the original handle if possibleCreating a new URL without checking the old one
Temporarily unavailable productKeep the product page live and explain availabilityDeleting a URL that will be needed again

Do Shopify 404 Errors Hurt SEO?

A normal 404 is not automatically an SEO failure. Products leave catalogs, URLs change, and the web contains missing pages. Google has long stated that some 404 responses do not by themselves harm a site’s rankings. The problem begins when valuable URLs disappear without a useful plan, internal links keep sending crawlers and customers to dead ends, or irrelevant redirects create soft 404 signals.

Google’s current soft 404 guidance recommends a 301 when content has moved to a clear replacement and a 404 or 410 when it is genuinely gone. That is the decision rule. The number of red rows in a crawler is secondary.

Step 1: Find Every Deleted Product URL That Matters

Start with URLs, not product names. A title can change, and the same product may have appeared through several collection paths or tracking parameters while the canonical product URL used one permanent handle.

Collect candidates from:

  • Google Search Console’s Not found report and URL Inspection results
  • Your Shopify redirect list
  • Analytics landing pages from the previous 12 to 16 months
  • Backlink exports from your SEO tool
  • Broken internal links in navigation, collections, blog posts, buying guides, and campaign pages
  • Merchant Center diagnostics and old product feeds
  • Customer emails, saved wish lists, and paid campaign destinations

Normalize the list so each old path appears once. Keep columns for old URL, previous product, traffic, backlinks, closest replacement, proposed action, and verification status. This turns a pile of errors into a URL map someone can review.

Step 2: Decide Whether the Product Should Have Been Deleted

Deletion is often the wrong response to temporary stock conditions. If an item will return, the page still answers a useful query and may retain rankings, reviews, links, and customer bookmarks. Keep it live, state the availability clearly, offer a restock alert, and show honest alternatives.

If the item is permanently discontinued, use the broader discontinued product page SEO framework to decide whether the page itself still has useful historical or support value. Some discontinued products deserve a maintained page with compatible replacements, manuals, parts, or model comparisons. Others do not.

Step 3: Choose a Redirect That Preserves Intent

A redirect is appropriate when a shopper arriving at the destination can reasonably say, “Yes, this is what I was looking for.” Match product type, use case, audience, important specifications, price band, and search intent.

Strong redirect

A deleted 500 ml insulated steel bottle redirects to the updated 520 ml version from the same range. The design changed, but the destination serves nearly the same need.

Acceptable consolidated redirect

Three old storage-box sizes now exist as variants on one consolidated product page. Each old product URL can redirect to that current product, assuming the destination makes the relevant options obvious.

Weak redirect

A deleted red evening dress redirects to the store’s entire women’s clothing collection. This may be acceptable only if the collection is tightly relevant and there is no closer option. A filtered or curated red evening dress collection would be better if it is stable and indexable.

Bad redirect

Every deleted product redirects to the homepage. Google warns against redirecting many old URLs to one irrelevant destination because this can confuse users and may be treated as a soft 404. Its site move documentation recommends relevant URL mapping rather than mass homepage redirects.

Step 4: Create the Redirect in Shopify

In Shopify admin, go to Content > Menus, open URL redirects, and select Create URL redirect. Enter the old product path in the Redirect from field and the replacement path in Redirect to, then save it.

Shopify’s official redirect documentation notes that redirects work from broken URLs. If the old URL still loads a valid page, the redirect will not take effect. The documentation also explains fixed path limitations, bulk import and export, and behavior across market subfolders.

Use relative paths for destinations on the same store:

  • Redirect from: /products/old-trail-bottle
  • Redirect to: /products/trail-bottle-520

Test both the full old URL and the final destination in a private browser window. Confirm the redirect happens once, lands on a 200 page, and does not pass through another redirect.

Step 5: Fix Large Sets With a Reviewed CSV

For dozens or thousands of deleted products, use Shopify’s redirect export and import rather than entering every line manually. Bulk does not mean automatic. Review the destination map before importing.

Group URLs into these buckets:

  1. Exact replacement: approve in bulk after spot checks.
  2. Close replacement: require a merchandiser or category owner to confirm intent.
  3. Collection candidate: confirm the collection remains stable and useful.
  4. No replacement: leave as a proper 404 and remove internal links.
  5. Needs restoration: send back to the catalog team.

Never map destinations by sharing a single word in the product title. “Blue” does not make two products equivalent. Neither does a vendor name.

Step 6: Remove Internal Links to Deleted URLs

A 301 can preserve the journey for old links, but your own site should link directly to the final destination. Update menus, collection copy, product recommendations, blog posts, buying guides, comparison tables, image links, announcement bars, and campaign landing pages.

This reduces unnecessary redirect hops and keeps internal linking signals clear. It also prevents visitors from seeing outdated anchor text that promises a product no longer sold.

Step 7: Check Backlinks Before Letting a URL Die

An old product may have reviews, gift-guide placements, press coverage, affiliate links, or forum recommendations. If it has valuable backlinks, a relevant redirect can preserve the route into the site. If no suitable product exists, consider whether a maintained resource or category genuinely serves the original intent.

Do not invent a thin replacement page just to catch the link. Use the deleted-product backlink reclamation process to identify worthwhile links, choose a defensible destination, and contact important publishers when the destination needs to be updated.

Step 8: Clean Up Sitemaps and Feeds

Shopify manages its XML sitemap automatically, but you should still confirm that deleted product URLs are no longer being submitted and that replacement products are discoverable. Check Merchant Center and other feeds separately. An old feed destination can continue sending crawlers, ad reviewers, and shoppers to a 404 even after your storefront links are clean.

Do not block an old URL in robots.txt to hide the problem. Google needs to crawl the URL to see a 301, 404, or 410 response. Blocking it can delay understanding of the final state.

Step 9: Verify the Fix

For a sample of every action type, verify:

  • The old URL returns the intended 301 or true 404 response.
  • The redirect has one hop and the destination returns 200.
  • The destination is indexable and uses a self-referencing canonical.
  • No internal links still point to the old URL.
  • The deleted URL is absent from active feeds and the sitemap.
  • The destination matches the old query and shopper need.
  • Search Console reflects the change after Google recrawls it.

Do not request indexing for hundreds of old URLs one by one. Submit clean sitemaps, maintain crawlable links to current pages, and let Google process the redirect or removal signals.

Common Shopify 404 Fixes That Backfire

  • Redirecting everything to the homepage: relevance disappears and soft 404 treatment becomes possible.
  • Redirecting to internal search results: these pages may be unstable, blocked, or unsuitable for indexing.
  • Deleting temporarily sold-out products: the store loses history and creates work when stock returns.
  • Keeping broken links because a redirect exists: customers still see stale product promises and crawlers take an unnecessary hop.
  • Blocking old URLs in robots.txt: search engines may not see the removal or redirect signal.
  • Redirect chains: old product A points to product B, then B points to C. Update A directly to C.
  • Assuming every 404 needs a fix: a true 404 is correct when there is no replacement.

When to Get Help With Shopify 404 Cleanup

A few deleted products can be handled manually. A catalog migration, supplier exit, seasonal range change, or platform redesign needs a reviewed URL map and post-launch monitoring. Organic Cart Studio’s Shopify SEO services can audit the affected URLs, prioritize those with traffic or links, build the redirect map, and verify that current products remain easy to crawl.

FAQs

Should every deleted Shopify product have a 301 redirect?

No. Use a 301 only when a relevant replacement serves substantially the same intent. If the product is permanently gone and there is no useful alternative, a true 404 is normally clearer than an irrelevant redirect.

Where do I create product redirects in Shopify?

Go to Content, then Menus, open URL redirects, and create a redirect from the old product path to the chosen destination. Shopify also supports importing and exporting redirect CSV files for larger sets.

Should I redirect a deleted Shopify product to its collection?

Only when the collection is closely relevant and helps the shopper continue the same task. A direct successor or consolidated product is stronger. Do not use a broad collection simply because it is the nearest page in the menu.

How long should I keep Shopify redirects?

Keep permanent redirects for the long term, particularly when old URLs have traffic, backlinks, bookmarks, or campaign history. Google recommends retaining site-move redirects for at least a year, and keeping useful redirects longer often benefits customers.

Leave a Reply

Your email address will not be published. Required fields are marked *