Key takeaways
- Deleting a product does not create a redirect. The old URL returns a 404 until you add one under Content → Menus → View URL redirects.
- A redirect only fires when the old URL is already broken, so archive or delete the product first, then test the redirect.
- Send each retired product to the closest replacement product, then its parent collection. Use the home page last.
- A product that sat in six collections can have seven live URLs, so check the old collection-path versions that still get clicks.
- A standard store can hold 100,000 redirects, and a CSV import needs only two columns: Redirect from and Redirect to.
When you remove a product from Shopify, its URL does not forward anywhere. It returns a 404 until you create a redirect yourself. To fix it, archive or delete the product, then go to Content → Menus → View URL redirects → Create URL redirect, and point the old path at the closest replacement product or collection.
That matters most in the next four weeks. Holiday stock sells through, January clearance starts, and suppliers drop lines. Every retired product still has links out there: old emails, Pinterest pins, Google results, ad landing pages, a blogger's gift guide. Those visitors should land somewhere useful, not on an error page.
Archive, delete or leave live
Pick the status before you touch redirects, because it decides whether you need one.
- Out of stock but coming back: leave the page live. Switch the button to sold out, add a "back in stock" note, and keep the URL. Redirecting a product you will restock throws away a page that already ranks.
- Retired for now, might return: archive it. Shopify's support team describes archiving as the alternative to deleting: the product leaves the online store and moves to the Archived tab on the Products page, and its data stays intact.
- Gone for good: delete it, or archive it and leave it. For visitors the result is the same.
In both of the last two cases the storefront URL starts returning a 404. That is the moment a redirect becomes possible, and the moment it becomes necessary.
Pick the redirect target
Community threads and most guides say "redirect to a similar page" and stop there. Here is a rule you can apply in under a minute per product.
- A direct replacement exists (new version, same product in a new color or size set): redirect to that product page.
- No replacement, but the product belonged to a collection: redirect to the collection it sat in most, such as
/collections/running-socks. - No collection that fits: redirect to the broader category collection.
- Nothing relevant at all: let it 404, or use
/as a last resort.
Two traps. First, do not send a $200 jacket to a $15 accessory just because it is in stock. The visitor came for the jacket. Second, a redirect to the home page is not a disaster, but it tells people "this is gone" without helping them find anything. Use it only when no collection fits.
If the product had traffic, check before you decide. In your analytics or Google Search Console, look at visits to the product URL over the last 90 days. A product with zero visits may not need a redirect at all. One with real traffic deserves a careful target.
Create a single redirect
Shopify's own documentation lists the path as Content → Menus, then View URL redirects.
- Open Content → Menus.
- Click View URL redirects, then Create URL redirect.
- In Redirect from, enter the old path, for example
/products/winter-trail-sock. - In Redirect to, enter the new path, for example
/collections/running-socks. - Click Save redirect.
Use relative paths (starting with /) for anything inside your own store. Use a full URL only when the destination is on a different domain. Redirects start working immediately.
Then test: open a private browser window, paste the old URL, and confirm you land on the target. Browsers and search engines cache 301 redirects, so a mistake can linger for some visitors even after you fix it.
The URLs people forget: collection paths
A product that appears in several collections can be reached at more than one address. Your theme may link to /products/winter-trail-sock from one place and /collections/running-socks/products/winter-trail-sock from another. Delete the product and every one of those addresses becomes a 404.
A community thread from a merchant who retires about one product a week put it plainly: with six collections, that is seven URLs per product. The replies agreed a 404 is the correct response for a deleted product, and that the redirects are worth the effort mainly when the page still gets traffic from old links.
So be selective:
- Always redirect the plain
/products/handleURL. That is the one Google and most external links use. - Add the collection-path versions only for the collections that actually send traffic. Check Search Console's page report or your analytics for any
/collections/…/products/…URLs that show up. - Skip the long tail. A path nobody has clicked in 90 days does not need a redirect.
Bulk import for a clearance cull
If you are retiring 30 products in January, don't type 30 redirects. Use the import.
- Build a CSV with two columns: Redirect from and Redirect to. Use relative paths in both.
- Go to Content → Menus → View URL redirects → Import.
- Click Add file, choose the CSV, and click Upload file.
- Review the preview, then click Import redirects.
Shopify's help page gives a sample CSV you can download as a template. Before you import, clean the file:
- No chains. If product A redirects to B, and B is later redirected to C, change A to point straight at C. Every extra hop slows the visitor down.
- No duplicates. One source path, one target.
- Targets exist. Open ten of the destination URLs by hand. A redirect to a page that 404s just moves the problem.
- No restricted paths. Shopify cannot redirect paths such as
/cart,/orders,/apps, or fixed paths like/productsand/collections/all.
Guides that cover bulk imports tend to stop at "upload the file". They skip the checks above, and they skip what happens months later when a replacement product is also retired and your redirects quietly form a chain. Keep the CSV in a shared folder and update the old rows whenever a target changes.
Fix the links you control
Redirects catch outside visitors. Your own store should not depend on them.
- Menus: open Content → Menus and remove retired products from main and footer navigation.
- Theme sections: featured-product blocks and hand-built links in the theme editor may still point at a retired product. Click through the home page and top collections once.
- Emails and flows: check your next two or three scheduled campaigns for links to products you are about to remove.
- Ads: pause or repoint any ad whose landing page is a retired product. A redirect works, but it adds a hop and your tracking may lose the parameters you care about.
If you do this for dozens of products every quarter, a tool helps. Rankly is a free-plan Shopify app that handles redirects alongside meta titles, alt text, FAQ schema and sitemap work, so the cleanup lives in one place. It is a convenience, not a requirement: everything above works with Shopify's built-in redirect tool.
A 15-minute checklist before January
- List the products you will retire this quarter.
- Mark each one: keep live, archive, or delete.
- Pull 90-day visits for each product URL. Skip redirects for zero-traffic products.
- Choose a target using the replacement → collection → category order.
- Archive or delete the products.
- Import the CSV, or create single redirects.
- Test five of them in a private window.
- Remove the products from menus and scheduled emails.
To see what else is leaking on your live pages, run the CRO Audit on a product URL, and run the ChatGPT SEO check if you want to confirm the pages that remain are crawlable.
Frequently asked questions
Does Shopify redirect a deleted product automatically?
No. Shopify's help center says that if you delete a product, you set up a URL redirect yourself. Until you do, the old product URL shows a 404 page.
Should I archive or delete a discontinued product?
Archive it if you might sell it again or want to keep its order history and reviews handy. Delete it only when it is gone for good. Either way the storefront page stops loading, so you still need a redirect.
Why is my Shopify redirect not working?
The most common cause is that the old URL still loads a live page. Shopify only redirects URLs that are broken, so the product must be archived, deleted or unpublished from the Online Store first. Also check that you used a relative path like /products/old-handle, not a full domain.
Where should a discontinued product redirect to?
Use the closest replacement product if one exists. If not, use the collection the product lived in. Redirecting everything to the home page is the weakest option, because visitors land somewhere unrelated to what they clicked.
How many redirects can a Shopify store have?
Shopify's help center lists 100,000 URL redirects for standard stores and 20,000,000 for Plus stores. Most merchants will never get near that, but old migration files can eat into it.



