Tendor Tendor
Store health · Shopify

How to redirect deleted or renamed products in Shopify

Updated November 23, 2026

When you delete a product in Shopify, its old URL returns a 404 “page not found”, and Shopify doesn’t redirect it for you. Renaming a product’s URL handle redirects the old URL only if the Create a URL redirect checkbox is ticked when you save. To fix a 404 left behind, create a 301 redirect under Content → Menus → URL redirects: old path in Redirect from, the closest live page in Redirect to. Point it at a replacement product or the product’s collection, not your homepage. For many URLs at once, import a CSV. This guide covers when a redirect is worth adding, where to point it, and why some redirects silently don’t work.

What happens to a product’s URL when you delete it in Shopify?

The URL stops working, with no redirect. Shopify’s help center says you can create a redirect after deleting a product, but nothing creates one for you. The same is true for:

  • Draft products. Setting a product back to Draft makes its storefront URL return a 404.
  • Hidden collections. A collection you take off the online store 404s the same way.
  • Unlisted products are different. An unlisted product keeps its URL; it’s just left out of search and collections on your store.

Any menu item, collection page, blog post, email, ad, bookmark or Google result that pointed at the old URL now lands on your 404 page. Most shoppers who hit that page leave instead of searching for what they wanted. The full list of ways 404s pile up on a store is in how to find and fix broken links in Shopify.

What happens when you change a product’s URL handle?

It depends on one checkbox. You change a handle in the product’s Search engine listing section (Edit), in the URL handle field. Under that field Shopify shows Create a URL redirect. With it ticked, saving creates a 301 redirect from the old URL to the new one, and it appears in your URL redirects list. If it’s unticked, the old URL 404s as soon as you save.

So before saving a new handle, look at the checkbox. This is the one case where Shopify can make the redirect for you. Apps and imports that change handles through the Admin API get the same choice: the API has a redirectNewHandle flag that, when true, redirects the old handle to the new one.

How do you create a URL redirect in Shopify?

From the Shopify admin:

  1. Copy the old path, for example /products/blue-linen-shirt. Open it and check it shows a 404.
  2. Go to Content → Menus, then click URL redirects.
  3. Click Create URL redirect.
  4. Put the old path in Redirect from and the new path in Redirect to.
  5. Click Save redirect, then open the old URL in a private window to check it.

Shopify’s redirects are permanent (301). Google treats a permanent redirect as a strong signal that the target page should replace the old one in search results.

Where should a deleted product redirect to?

To the page a shopper would accept instead, in this order:

SituationRedirect to
You replaced it with a new version or a new SKUThe new product
You stopped selling it but sell something very closeThe similar product
You stopped selling it and nothing is closeThe collection it lived in
Nothing is related, and nothing links to the old URLNo redirect. Let it 404
It’s out of stock for now and coming backDon’t delete it. Keep the product live and mark it sold out

Avoid sending everything to the homepage. A shopper looking for a linen shirt who lands on your homepage has to start over, which is close to hitting a 404. A plain 404 isn’t a problem in itself either. Google treats a 404 as “this page doesn’t exist” and drops the URL from its index over time. A redirect is worth adding when something still sends people or links to the old URL.

If the product is only temporarily unavailable, deleting it is usually the bigger mistake. The page loses its search rankings and you need a redirect you’ll later have to remove. See how to hide sold-out products in Shopify for ways to keep the page while stock is at zero.

Why isn’t my Shopify redirect working?

Usually because the old URL isn’t broken. Shopify only redirects from URLs that would otherwise 404. If the old page still loads, the redirect is ignored. This catches people out in two ways:

  • The product came back. You redirected a deleted product, then restored or re-created it at the same handle. The page loads again, so the redirect stops applying. Delete the redirect if you no longer need it.
  • The page was never gone. You can’t use a redirect to send a live page somewhere else. Unpublish the old page first, or change its handle.

Shopify also can’t redirect some paths at all:

  • URLs starting with /apps, /cart, /orders or /shop (among other reserved prefixes)
  • /products, /collections and /collections/all themselves
  • Collection URLs that use tag filtering
  • URLs that depend on a query string (?variant=…) may not redirect as expected

Browsers and search engines cache 301 redirects. If you test, change a redirect and test again, use a fresh private window.

How do I add many redirects at once?

Use a CSV import. In Content → Menus → URL redirects, click Import, add your file, click Upload file, review the preview and click Import redirects. Shopify offers a sample template; match its columns. Export downloads your current redirects in the same format, which is a good backup before a big cleanup. You can also select several redirects in the list to edit or delete them together.

A store can hold up to 100,000 redirects (20,000,000 on Shopify Plus), so the limit rarely matters. What matters is the target of each one. A bulk import that sends 300 old products to the homepage just moves the problem.

How do you find which old URLs need a redirect?

Shopify has no report that lists the URLs you’ve broken, so you need to look in two places:

  • Links on your own store. Menus, collection descriptions, pages and blog posts that still point at a deleted or renamed product. A crawl of your storefront finds these.
  • Links from outside. Google results, other sites and old emails. Google Search Console’s Pages report lists URLs Google tried and got a 404 on.

A crawl won’t see a link that only exists in an old newsletter, and Search Console won’t see a link Google hasn’t crawled yet. Use both.

The fix: Healthly

Finding the 404s on your own store is the slow part. Healthly crawls your storefront from the homepage, follows your internal links, and lists each link that returns a 404, along with the page it was found on. Each 404 has a Create redirect button with the broken path filled in. Where it can, Healthly suggests the closest published product as the target; you confirm or change it, and Healthly creates the 301 redirect in Shopify. Every redirect it creates is listed in its History, where you can undo it in one click. The same scan flags redirect chains (URLs that only resolve after two or more hops) and missing image alt text. For the alt-text side, see how to add alt text to Shopify product images.

What it doesn’t do: it doesn’t apply a redirect without your click, and it only finds 404s that something on your store links to. Each scan checks a set number of pages, and it skips a password-protected storefront. For URLs only Google or other sites still link to, use Search Console. The free plan covers full scans, a monthly automatic re-scan, a capped number of active redirects and a redirect CSV export in Shopify’s own format. The Pro plan removes the cap, imports redirects from a CSV, and adds daily or weekly re-scans with an email when new broken links appear (if you opt in to Healthly emails), which helps if you delete or rename products often. If you’re comparing tools, how to choose a Shopify SEO app covers what to look for.

Frequently asked questions

Does Shopify redirect a product automatically when I delete it?
No. When you delete a product, its /products/handle URL returns a 404 and Shopify doesn't create a redirect for it. Setting a product to Draft or hiding a collection has the same effect on the storefront URL. If the old URL has links or search traffic pointing at it, add a URL redirect yourself under Content → Menus → URL redirects.
Does Shopify redirect the old URL when I change a product handle?
Only if you ask it to. When you edit the URL handle in the product's search engine listing, Shopify shows a 'Create a URL redirect' checkbox under the field. Make sure it's ticked before you save, and the old URL is 301-redirected to the new one. If it isn't ticked, the old URL 404s from the moment you save.
Why isn't my Shopify URL redirect working?
The most common reason: the old URL still loads a page. Shopify only redirects from broken URLs, so a redirect from a product that is active again, or from a page that still exists, does nothing. Other reasons: the path starts with a reserved prefix such as /apps, /cart, /orders or /shop; it's /products, /collections or /collections/all, which can't be redirected; it uses collection tag filtering; or it relies on a query string.
Should I redirect a deleted product to my homepage?
Usually not. Send it to the closest match a shopper would accept instead: a newer version of the product, a similar product, or the collection it lived in. If nothing on your store is a reasonable replacement and nothing links to the old URL, it's fine to let it 404. Google drops 404 URLs from its index on its own.
Can I import URL redirects in bulk in Shopify?
Yes. In Content → Menus → URL redirects, click Import, upload a CSV in the format of Shopify's sample template, review it and click Import redirects. Export works the same way. A store can have up to 100,000 redirects, and Shopify Plus stores up to 20,000,000.

← All Tendor guides