All guides

Shopify URL Redirects: How to Create, Bulk Import and Fix Them

How to create a URL redirect in Shopify, import redirects in bulk from a CSV, and fix redirects that don’t work. Limits, chains, and when not to redirect.

A Shopify URL redirect sends anyone who requests an old address to a new one. You need one whenever a URL that people or search engines know about stops working: a deleted product, a renamed collection, a blog post you merged into another, or a whole site moved over from another platform.

This guide covers how to create one, how to add them in bulk, why a redirect sometimes does nothing, and where redirects stop being the right fix.

How to create a URL redirect in Shopify

  1. In your Shopify admin, go to Content → Menus. (Older admins show this as Online Store → Navigation.)
  2. Click View URL redirects, then Create URL redirect.
  3. In Redirect from, enter the old path, starting with a slash: /products/old-jacket.
  4. In Redirect to, enter the new path: /products/waxed-field-jacket. Use / for the homepage.
  5. Click Save redirect.

The redirect works straight away. Open the old URL in a private window to check it.

Use the path, not the full address. /products/old-jacket is right; https://yourstore.com/products/old-jacket invites typos and domain mismatches.

Shopify only redirects broken URLs

This is the rule behind most “my redirect isn’t working” questions. Shopify’s help center puts it plainly: you can redirect only from broken URLs, and if the old URL still loads a valid page, the redirect won’t work.

So the order of events matters:

  • Deleting a product: the product page starts returning a 404 the moment it’s gone, and a redirect from that path takes over.
  • Setting a product to Draft, or removing it from all sales channels: its page also 404s, so a redirect from it works.
  • Archived products behave like drafts for this purpose: the storefront page is gone.
  • A product that is still active and published keeps its page, and any redirect you create from its URL sits unused until you take the product down.

If you want to keep a product in your admin but send its traffic elsewhere, set it to Draft first, then add the redirect.

When Shopify creates a redirect for you

When you change the URL handle of a product, collection, page or blog post (in the Search engine listing section of the editor), Shopify shows a Create a URL redirect checkbox under the handle field. Leave it ticked and Shopify adds a redirect from the old handle to the new one. Untick it, or miss it, and the old URL simply 404s.

Shopify does not create a redirect when you delete something. Deleting a product, collection, page or post leaves every link to it broken until you add one yourself.

When you should add a redirect

Add one any time a URL that has been live for a while goes away:

  • A deleted or discontinued product. Point it at the replacement model, or at the collection it belonged to.
  • A changed handle where the automatic redirect was skipped.
  • A deleted or merged collection. Collections pick up links from menus, blog posts and other sites.
  • A merged or removed blog post. Send it to the post that now covers the topic.
  • A migration from another platform. Your old URLs (/product/123, /shop/jackets.html) almost never match Shopify’s fixed structure (/products/, /collections/, /pages/, /blogs/), so every one of them needs a redirect.

You don’t need a redirect for a URL that never had traffic or links: a product you published by mistake for an hour, or a test page.

Choosing where a redirect should go

The destination matters as much as the redirect. In order of preference:

  1. The direct replacement. The new version of the product, or the post that absorbed the old one.
  2. The closest category. The collection the product sat in, so the visitor lands among similar items.
  3. A broader collection or page that still matches the topic.
  4. The homepage, only as a last resort. Google tends to treat a redirect from a specific product to an unrelated homepage as a soft 404, so the old URL’s ranking signals are largely lost anyway. More on this in should you redirect 404s to your homepage.

How to import URL redirects in bulk

For more than a handful, use a CSV:

  1. Go to Content → Menus → URL redirects and click Import. Shopify links to a sample CSV from the import dialog; start from it.

  2. Fill in two columns, Redirect from and Redirect to, one redirect per row, both as paths:

    Redirect from,Redirect to
    /products/trail-tent-2p,/products/trail-tent-2-person
    /collections/summer-sale,/collections/sale
    /blogs/news/care-guide,/pages/care-guide
  3. Upload the file, review the preview Shopify shows you, then click Import redirects.

Shopify’s native import takes explicit pairs only. There are no wildcards (/products/*) and no pattern rules, so a migration with thousands of URLs means building the full list in a spreadsheet first. The bulk redirects guide covers building that list from an old sitemap or crawl.

To review what you already have, use Export on the same screen. An export is also the easiest way to spot chains (below).

Is a Shopify redirect a 301?

Yes. Shopify’s URL redirects are permanent redirects, which is what you want in nearly every case: they tell search engines the page has moved for good, so the new URL replaces the old one in results over time. You can’t choose a 302 in the admin. If you think you need a temporary redirect, read 301 vs 302 redirects on Shopify first; the cases are rare.

Because a 301 is permanent, browsers cache it. If you change where a redirect points and your own browser keeps going to the old destination, test in a private window before assuming it’s broken.

Why your Shopify redirect isn’t working

Work through these in order:

  1. The old URL still loads a page. The most common cause, covered above. Draft or delete the product, page or collection first.
  2. The path doesn’t match exactly. Check for a missing leading slash, a typo in the handle, or the wrong prefix (/product/ instead of /products/).
  3. The visitor’s browser cached an earlier redirect. Test in a private window.
  4. The URL has a query string. Shopify notes that URLs with query strings (?variant=123, ?page=2) might not redirect as expected. Redirect the clean path and test the variants you care about.
  5. It goes somewhere that is itself redirected. That’s a chain; see below.
  6. Two redirects point at each other. /a → /b and /b → /a is a loop, and the browser gives up with a “too many redirects” error. Delete one of them.
  7. The destination is broken. A redirect to a page you later deleted lands the visitor on a 404 anyway. Check destinations after any catalog clean-up.

Redirect chains and loops

A chain is a redirect that leads to another redirect: /jacket-v1 → /jacket-v2 → /jacket-v3. They build up when a handle changes more than once, or when a migration’s redirects point at URLs that later moved again.

Each hop adds a round trip for the visitor, and search engines will only follow a chain so far. Fix a chain by pointing the first redirect straight at the final destination.

To find chains, export your redirects and look for any value in Redirect to that also appears in Redirect from. Each match is a hop. Shopify redirect chains walks through doing this in a spreadsheet.

Limits

  • Number of redirects: up to 100,000 per store, or 20,000,000 on Shopify Plus.
  • What can be redirected: only URLs that no longer load a page.
  • Matching: exact paths. No wildcards or regular expressions in the native tool.
  • Status: permanent (301) only.

If you’re near the cap, remove redirects for URLs that have had no visits or inbound links for a long time. Search Console’s Links report shows which old URLs other sites still link to; keep those.

What a redirect doesn’t fix

A redirect catches people arriving at the old address. It does nothing to the links that send them there.

If your own blog post links to /products/old-jacket, that link still points at the dead URL after you add the redirect. Every click takes an extra hop, and search engines keep seeing your site link to an address that no longer exists. And if the redirect is ever removed, or the destination is deleted later, the link breaks again with no warning.

So for links inside content you control, the better fix is to change the link itself, and keep the redirect for everything you can’t edit: other websites, old emails, bookmarks and search results. The guide to fixing broken links on Shopify covers finding them.

Where an app helps

Shopify’s redirect tool is fine for a handful of known URLs. It gets hard to keep up with when a store changes often, because nothing tells you which links broke or where each should now point.

Redirect apps differ in what they watch. Some log the 404s visitors hit and let you redirect them by rule. Relink works from the other side: it scans your products, pages, collections and blog posts for links to dead URLs, suggests the closest live page for each, and when you apply a fix it rewrites the link in your content and adds a native Shopify redirect for the old address at the same time. Every fix can be undone from History, and the redirects are ordinary Shopify redirects that stay if you uninstall. It doesn’t log 404s from links on other websites, so pair it with Search Console for those. There is a free plan; Pro is $7.99 a month.

Frequently asked questions

Why is my Shopify redirect not working?

Usually because the old URL still loads a live page. Shopify only redirects broken URLs, so a product that is still active and published keeps its page and ignores the redirect. Set it to Draft or delete it. If that isn’t it, check the path for typos and a leading slash, and test in a private window in case your browser cached an older redirect.

How many URL redirects can a Shopify store have?

Up to 100,000. Stores on Shopify Plus can have up to 20,000,000.

Does Shopify use 301 or 302 redirects?

301 (permanent). The admin doesn’t offer a 302 option.

How do I redirect a product to another product in Shopify?

Set the old product to Draft or delete it, then go to Content → Menus → URL redirects → Create URL redirect. Enter the old product’s path (/products/old-handle) in Redirect from and the new one in Redirect to, then save.

Can I use wildcards in Shopify redirects?

Not with the built-in tool. Each redirect is one exact path to another. For a large migration, build the full list in a spreadsheet and import it as a CSV, or use an app that supports pattern rules.

Do redirects hurt SEO?

A redirect from a dead URL to its closest replacement helps: it keeps visitors and lets the new page inherit the old one’s place in search over time. What hurts is the wrong destination (everything to the homepage), long chains, and leaving your own internal links pointing at redirected URLs instead of updating them.


Relink finds the broken links inside your Shopify content, fixes them, and adds the redirect for you. Install free on Shopify.

Laurence Tuchin

Founder, Relink

7+ years in marketing across websites and apps, focused on organic growth and helping businesses find their customers through search. Built Relink after seeing how many Shopify stores silently lose rankings to broken links.

Ready to fix your store's broken links?

Relink scans your Shopify store automatically and uses AI to suggest the right fix for every broken link it finds.

Install Relink — Free

Free plan available · No credit card required

Related guides

Bulk URL Redirects on Shopify: The Manual Method and Its Limits

8 min read

Shopify 301 Redirects: When to Use a 301 vs a 302

8 min read

Shopify Sitemap: Where to Find It and How to Submit It

7 min read