Z O B A E R

Loading

Guide Shopify guide

Shopify URL Redirects: Set Up, Import and Fix Them

How Shopify URL redirects work, how to add or bulk import them, 8 reasons a redirect is not working, Markets subfolders, and how to check a 301.
Zobaer Hossain
Zobaer H.Shopify Select Partner · 10+ years
Shopify URL redirects: how to set up, bulk import and fix a redirect not working, guide by Zobaer H.

You changed a product URL, deleted an old page or moved from another platform. Now old links show “Page not found.” Shopify URL redirects fix that. They send shoppers and Google from the old address to the new one, and they are free on every plan.

The catch: a redirect only works when it follows a few rules. Most “my redirect is not working” problems break one of them. I set up and repair redirects on many client stores, and this guide covers everything I check. Settings and limits are as of November 2026.

Here is what you will learn:

  • How Shopify redirects work, and the rules they follow
  • How to add one redirect, or import hundreds with a CSV file
  • 8 reasons for a Shopify redirect not working, with a fix for each
  • How redirects behave with Shopify Markets subfolders
  • How to check a 301 redirect, and what to do in Google Search Console after

How Shopify URL redirects work

A Shopify URL redirect is a permanent 301 redirect from an old path on your store to a new page. When someone opens the old address, Shopify sends them on to the new one. A 301 redirect also tells Google that the new page should replace the old one in search results.

Shopify URL redirects follow these rules, taken from Shopify’s own URL redirects help page and its developer docs:

  • The old URL must be broken. A redirect only fires when the old URL shows Page not found (a 404). If a page still loads there, nothing happens.
  • From a path, to a path or a full URL. The old address is a path like /products/old-shirt. The new one can be a path on your store or a full URL on another site.
  • One rule per path. Each old path can have only one redirect.
  • Some paths are blocked. You can’t redirect paths that start with /apps, /cart, /orders, /services or /shop, or the fixed paths /products, /collections and /collections/all.
  • Limits. Up to 100,000 redirects per store, or 20,000,000 on Shopify Plus.
  • Instant. A redirect starts working as soon as you save it.

Shopify URL redirects are saved in the admin, not in the theme. So they keep working when you change your Shopify theme.

How to create a redirect in Shopify

You add a single redirect under Content, then Menus, in under a minute. Older guides say Online Store, then Navigation, but in the current admin Shopify URL redirects live next to your menus.

  1. From your Shopify admin, go to Content, then Menus.
  2. Click View URL redirects.
  3. Click Create URL redirect.
  4. In Redirect from, enter the old path, for example /products/linen-shirt-old.
  5. In Redirect to, enter the new path, for example /products/linen-shirt. To send people to your home page, enter a single /.
  6. Click Save redirect.
Shopify URL redirects: the Create URL redirect form with Redirect from and Redirect to fields
Step 1: one old path, one new page, then Save redirect.

When you change a URL handle

The easiest redirect is the one Shopify makes for you. When you edit the URL handle of a product, collection, page or blog in its Search engine listing section, a Create a URL redirect checkbox appears. For pages and blogs it is ticked by default.

Keep it ticked on any live store, then click Save. If you untick it, every old link to that item breaks. You can still add the redirect by hand later.

Redirect to an external URL

To send an old page to another website, type the full URL with https:// in Redirect to, for example https://www.example.com/sizes. Keep Redirect from as a path on your store.

Since October 2026, your storefront also checks links to outside websites. According to the Shopify Changelog, it blocks sites Shopify has flagged as malicious and asks shoppers to confirm before visiting suspicious ones. Normal sites open directly, and domains connected to your store never show the message.

How to bulk import redirects with a CSV file

To add many redirects at once, import one CSV file. After a migration you may need hundreds of Shopify URL redirects, and typing them one by one is slow. Shopify’s sample file has two columns: Redirect from and Redirect to. Here is a template you can copy:

Redirect from,Redirect to
/old-shirt.html,/products/linen-shirt
/category/summer,/collections/summer
/pages/about-us-old,/pages/about
/blog/old-post,/blogs/news/new-post
  1. Open a spreadsheet, keep the two headings exactly as shown, and add one row per old URL. Save it as a CSV file.
  2. In your admin, go to Content, then Menus, and open URL redirects.
  3. Click Import, then Add file, and choose your CSV file.
  4. Click Upload file and review the preview.
  5. Click Import redirects, then Close.
Shopify URL redirects CSV import: a two-column file uploaded with Import redirects
Step 2: two columns in a CSV file, then Import, Upload file and Import redirects.

Before a big import, click Export to save a copy of your current list. Point every row at the final page, not at another old URL. And check the paths once more, because one typo means one broken link.

Shopify URL redirects not working? 8 causes and fixes

In most cases, a Shopify redirect not working comes down to one thing: a live page still exists at the old URL. Check these causes in order. The first three solve most cases I see.

1. The old page still exists

Shopify only redirects broken URLs. If the old product, collection or page still loads, Shopify shows it and ignores your redirect.

  • Product: set it to Draft, remove it from all sales channels, archive it or delete it. Note that an Unlisted product still has a page at its direct URL, so the redirect won’t fire.
  • Collection: set Online store visibility to Hidden.
  • Page: hide it or delete it.

Watch out: if you make a hidden collection or product visible again, Shopify deletes the redirect for you. Make a new one if you hide it again.

2. The path format is wrong

Check both fields letter by letter. Redirect from should be just the path, starting with a slash. The easy way is to copy everything after the domain from your browser’s address bar. Use a path in Redirect to for your own store and a full URL for other sites.

One special case: a URL ending in .html can’t be sent to the same URL without .html. Shopify treats them as the same address.

3. The URL is reserved by Shopify

Some addresses can never be redirected. These include /collections/all, /collections/vendors, /collections/types, /apps/, /a/, /community/ and /tools/. Collection tag URLs such as /collections/shirts/blue are also blocked, even when no product has that tag.

4. The old URL has a query string

Old platforms often used addresses like /product.php?id=12. Shopify says redirects from URLs with query strings “might not work as expected.” Redirect the clean path where you can, and test every one of these before you rely on it.

5. You expected a wildcard

Each built-in redirect matches one exact path. There is no wildcard (*) or pattern option in the admin. So if 500 old blog URLs need to move, list all 500 in your CSV file. Pattern rules are only possible with a redirect app.

6. An app, theme code or Markets setting gets there first

Redirect apps, geolocation apps and the Automatic domain redirection setting for markets can all send visitors somewhere else. So can custom theme code. If you see a redirect not working for some visitors only, check which tool is really sending people there. Keep your redirects in one system where possible.

7. Your browser remembers an old redirect

Browsers save 301 redirects. If you changed or removed one, your own browser may keep the old route. Test in a private window or on your phone, or clear your browser cache.

8. The old domain isn’t connected

Shopify can only redirect addresses that reach your store. If your old URLs live on an old domain, connect that domain in Settings, then Domains, and let it redirect to your primary domain.

CauseQuick testFix
Page still existsOld URL loads a pageDraft, hide or delete it
Wrong pathCompare with the address barPath only, leading slash
Reserved URL/collections/all, /apps, tagsCan’t redirect
Query stringURL has a ?Redirect the clean path
WildcardOne rule for many URLsOne row per URL
App or themeWorks with app offUse one system
Browser cacheWorks in private windowClear the cache
Old domainDomain not in DomainsConnect the domain
Shopify redirect not working checklist: the questions to ask in order
Step 3: the redirect not working checklist. Most problems end at the first question.

Redirects with Shopify Markets subfolders

If you sell abroad with subfolders such as /en-gb or /de-de, Shopify URL redirects now cover all of them. Shopify made this change in April 2023. A redirect from /products/blue-t-shirt to /collections/t-shirts also sends /en-gb/products/blue-t-shirt to /en-gb/collections/t-shirts.

  • Want a different target for one market? Create a separate redirect for that subfolder path, for example /de-de/products/blue-t-shirt.
  • Deleted a market? Its subfolder URLs now show a 404. Shopify suggests a CSV import to send those visitors to your main domain or another market.
  • Always test one subfolder URL. Shopify’s help page also warns that redirects don’t apply to every subfolder automatically in all cases, so check rather than assume.

Setting up markets for the UK and EU? My Shopify Markets Europe guide covers subfolders, languages and currencies.

How to check a 301 redirect

A good redirect makes one 301 hop to a page that loads normally (status 200). Check that, not just that “something happened.”

  1. Private window test. Paste the old URL. You should land on the new page.
  2. Redirect checker. Paste the old URL into any free online redirect checker. It lists every hop and its status code. You want 301, then 200.
  3. Command line. curl comes with Windows 10 and 11 and with macOS. Run the line below in Terminal or Command Prompt, and read the HTTP and location lines.
curl -sIL https://yourstore.com/products/old-shirt

Watch for three bad results. A chain is 301, 301, then 200. A loop never ends. A 404 at the end means the target is wrong.

How to check a 301 redirect: a clean redirect next to a redirect chain and a redirect to a 404
Step 4: one 301 hop to a 200 page is the goal. Fix chains and dead ends.

After the redirect: Search Console and your sitemap

Shopify URL redirects help shoppers right away. Google needs a little time to catch up. Here is what I check after a big batch:

  • Inspect the new URL. In Google logo Google Search Console, run the URL Inspection tool on the new page. For key pages, click Request indexing.
  • Expect “Page with redirect”. In the Page indexing report, old URLs move to this status. That is normal. It means Google saw the redirect and indexes the target instead.
  • Fix any “Redirect error”. Google uses this for chains that are too long, loops and bad target URLs.
  • Use the 404 list. The Not found (404) list shows old URLs Google still finds. Redirect the ones that have links or traffic.
  • Check your sitemap. Shopify updates it for you. Use my free Shopify Sitemap and Robots.txt Checker to find your sitemap URL and confirm the new pages are listed. Then submit that URL in Search Console.

Google says 301 redirects don’t cause a loss in PageRank. So keep your redirects in place.

Which redirect target should you choose?

Pick the page that answers what the visitor came for. Use this table:

SituationRedirect to
Handle changedThe same item’s new URL
Replaced by a new modelThe new product
Product discontinuedIts closest collection
Seasonal collection hiddenThis season’s collection
Moved from another platformThe matching new page
Gone, no links, no trafficNo redirect, a 404 is fine

Use the home page only as a last resort. A shopper who clicked “blue linen shirt” and lands on the home page usually leaves.

Common mistakes with Shopify URL redirects

  • Redirect chains. A goes to B, then B goes to C. Point A straight to C.
  • Loops. A goes to B and B goes back to A. Nobody gets anywhere.
  • A redirect from /404 to /. Shopify says this stops the theme editor from showing your 404 page. Delete it.
  • Making the old item visible again. Shopify then deletes the redirect without asking.
  • Testing in the same browser. A cached 301 redirect can hide a redirect not working for everyone else. Use a private window.
  • No list before a migration. Export your old URLs first. Use the sitemap, your analytics and your top linked pages. Then build the CSV file.

Frequently asked questions

Why is my Shopify redirect not working?

A redirect not working usually means a live page still exists at the old URL. Set the product to Draft, hide the collection or delete the page. Then check the path for typos, reserved paths and query strings, and test in a private window.

Are Shopify redirects 301 or 302?

Shopify’s built-in URL redirects are permanent 301 redirects. The admin has no option for a temporary 302. To move a page for a short time, hide it and add a redirect. When you make it visible again, Shopify removes the redirect.

Does Shopify support wildcard redirects?

No. Each built-in redirect matches one exact path. For many URLs, list each one in a CSV file and import it. Pattern rules need a redirect app.

How many Shopify URL redirects can a store have?

Up to 100,000 on most plans and up to 20,000,000 on Shopify Plus, as of November 2026.

Can I redirect a Shopify page to an external URL?

Yes. Enter the full URL with https:// in Redirect to. The old page still has to show Page not found for the redirect to work.

How do I redirect all 404 pages to the home page?

Shopify has no built-in catch-all. Each old URL needs its own redirect. I don’t recommend sending everything home anyway, and don’t create a redirect from /404 to /, because it breaks the 404 page preview in the theme editor.

Clean Shopify URL redirects keep your old links, ads and Google rankings working after every change. For more free help, see my free Shopify tools. If you would rather have someone map and test your redirects for you, that is part of my Shopify store management service. Message me on WhatsApp and I will take a look.

Zobaer Hossain, Shopify designer

Written by Zobaer H.

Shopify Select Partner with 10+ years of experience and 5,000+ clients. I design and build Shopify stores, and I write these guides from real client work.

Shopify Select Partner badge

In this guide

    ★★★★★ 4.9 from 1,350+ client reviews

    Let's start

    Ready to start your store?

    Send me your idea or store link. I'll reply with honest advice and a fixed quote.

    ✓ Free quote✓ Fixed price✓ You own everything