shopify 404 redirects

Shopify 404 redirects: what to do when you delete or retire a product

Which Shopify 404s to redirect, which to leave alone, and how to set up single and bulk URL redirects before January clearance and catalog cleanups.

Key takeaways

  • Deleting a product, collection or page in Shopify makes its URL return a 404 straight away. Shopify does not add a redirect for you in that case.
  • Google says a 404 is not necessarily a problem when a page was removed with no replacement, so redirect the URLs that have a real destination, not every dead URL.
  • Create redirects in Content → Menus → View URL Redirects. The old URL must be broken: you cannot redirect from a URL that still loads a page.
  • Redirect a retired product to its replacement, or to the closest collection if there is none. Never send everything to the homepage.
  • Fix your own menus, collections and sitemap links first. Google says those are the 404s worth fixing.

What happens when you delete a product

The old URL returns a 404. Shopify does not stop you, warn you, or create a redirect on a delete. Anyone who clicks an old ad, email, Pinterest pin or Google result lands on your not-found page and leaves.

That is fine for some URLs and expensive for others. Google's own documentation says 404 responses are not necessarily a problem if a page was removed with no replacement. So the job is not "zero 404s". The job is to find the few dead URLs that still get visitors or links, and send them somewhere useful.

This matters most when you clear out a catalog: end-of-season stock, discontinued variants, a supplier you dropped, January clearance. Do the redirects the same day you delete.

Which 404s deserve a redirect

Redirect a URL when at least one of these is true:

  • It gets organic traffic or ranks for something. Check Search Console performance for the page URL.
  • Other sites link to it: press, blogs, affiliates, a marketplace listing.
  • You linked to it yourself: an old email, a pinned social post, a PDF, a live ad.
  • A direct replacement exists, such as a new version of the same product.

Leave it as a 404 when the product never sold, never ranked, and has no replacement or close category. Piling thousands of pointless redirects into your list makes it harder to manage. Google says it crawls 404 URLs less often over time anyway.

One more rule: a 404 is not the same as a page that says "not found" but loads normally. Google calls that a soft 404. If you build a custom "this product is gone" page, make sure it is a real 404 or a proper redirect, not a normal page with an apology.

Where each redirect should point

SituationRedirect to
New version of the same productThe new product page
Discontinued, similar products existThe closest collection
Variant removed but product lives onNothing. Keep the product page and mark the variant unavailable
Seasonal item that returns next yearDon't delete. Set it to draft or keep it live and sold out, and write a "back in stock" line
No replacement, no category, no trafficLeave the 404

Avoid sending everything to the homepage. Shoppers who wanted a specific item feel tricked and bounce. Match the intent of the old page.

Create a single redirect

  1. In your Shopify admin go to Content → Menus.
  2. Click View URL Redirects, then Create URL redirect.
  3. In Redirect from, enter the old path, for example /products/old-hoodie. A relative path works on your primary domain.
  4. In Redirect to, enter the new path, for example /products/new-hoodie or /collections/hoodies. A full URL works if the destination is outside your domain.
  5. Click Save redirect.

Then open the old URL in a private window and confirm it lands where you expect. Browsers cache 301s, so test in a window you haven't used for that URL before.

When Shopify won't save the redirect

Shopify's help center lists the limits. Know them before you waste an afternoon:

  • The old URL must be broken. If it still loads a valid page, the redirect won't work. Delete or unpublish the page first.
  • Some paths can't be redirected, including prefixes like /apps, /cart and /shop, and fixed paths like /products and /collections/all.
  • Collection tag URLs (filtered by tag) can't be redirected.
  • Query strings and .html endings may not behave as you expect, and a .html URL can't be redirected to the same URL without .html.
  • Market subfolders such as /fr/ are covered, but you can create separate redirects for each one.
  • Volume cap: 100,000 redirects per store, 20,000,000 on Plus.

Also do not redirect /404 to your homepage. Shopify notes it interferes with the theme editor's 404 preview.

Read the full list on Shopify's URL redirects page.

Bulk redirects for a big cleanup

Retiring 200 products? Don't click through 200 forms. On the same URL Redirects screen, use Import and upload a CSV. Download Shopify's sample template from that screen and copy its column headers exactly rather than guessing them.

Build the list in a spreadsheet:

  1. Export your product list to a CSV before you delete anything, so you have every handle. (Our product export guide covers a public catalog.)
  2. Add a column for the destination: replacement product, or collection.
  3. Sort by destination and eyeball it. Fifty hoodies all pointing at the sock collection is a typo.
  4. Import, then spot-check ten old URLs.

Keep that spreadsheet. When you rename a handle later, you'll want to know what redirects you already created so you don't make a chain: old → middle → new. Update the earlier rule to point straight to the final URL.

If you'd rather not do this by hand, Rankly lists broken links and redirects among its tools, alongside an AI SEO audit with one-click fixes, and has a free plan. It is one option if you want to manage redirects alongside your other SEO fixes from one place. You can install it from the Rankly listing.

Check it worked in Search Console

A week or two after the cleanup, open the Page indexing report in Google Search Console and look at the Not found (404) group. Open a few examples. For each one ask the same two questions: does anything on my store still link here, and did it ever get traffic? If yes, redirect it. If no, leave it.

Don't chase the count going to zero. Google crawls removed URLs less over time, and old 404s fade from the report on their own. A clean-up that stops real visitors hitting dead ends is the goal. For related Search Console warnings, see which Shopify duplicate content warnings matter, and for the pages you keep, tidy up their meta titles and descriptions.

Shopify questions

Do 404 errors hurt my Shopify SEO?

Not by themselves. Google states that 404 responses are not necessarily a problem if a page was removed without any replacement. The damage comes from 404s on URLs that have traffic, backlinks, or links from your own store.

Does Shopify create a redirect when I delete a product?

No. A deleted product, collection or page returns a 404 until you add a redirect yourself in Content → Menus → View URL Redirects, or import a CSV.

Why won't Shopify let me create my redirect?

Usually because the old URL still works. Shopify only redirects from broken URLs, so an active page has to be deleted or unpublished first. Some paths, such as /cart, /apps and /products, can't be redirected at all.

How many redirects can a Shopify store have?

Shopify's help center lists 100,000 URL redirects per store, and 20,000,000 on Plus.

Should I redirect every old URL to the homepage?

No. A redirect should land on the page that replaces the old one, or the nearest category. A blanket homepage redirect sends shoppers somewhere they didn't ask to go.