Shopify URL redirects: how to create 301 redirects, and when they don’t work
A deleted product, a renamed collection or a changed URL handle leaves a link that leads to a 404 page, for customers and for Google. How to create URL redirects in Shopify, the rules that stop a redirect from working, how redirects behave with hidden products and market subfolders, and how to manage thousands in bulk.
Mathias JensenCEO & founder
In short: to create a URL redirect in Shopify, go to Content > Menus, click View URL Redirects and Create URL redirect, then enter the old and the new URL. Shopify’s redirects are permanent 301 redirects, they work immediately, and a store can have up to 100,000, or 20 million on Plus. A redirect only works when the old URL no longer loads a page, some paths such as /collections/all and /cart can’t be redirected, and one redirect covers every market and language subfolder unless you give a market its own.
How to create a URL redirect
- From your Shopify admin, go to Content > Menus.
- Click View URL Redirects, then Create URL redirect.
- In Redirect from, enter the old URL, such as
/products/halde-vase-cobalt. - In Redirect to, enter the new URL, such as
/products/halde-tall-vase-cobalt. Enter/for the home page. - Click Save redirect.
Use a relative URL to stay on your primary domain and a full URL, with https://, to send visitors to another domain. Both fields also accept Liquid, though Shopify can’t fully validate paths that use it. Checked against Creating and managing URL redirects in the Shopify Help Center on 24 November 2026.
When you need a redirect
- A product is deleted or discontinued. Send its URL to the most similar product, or to its collection, rather than the home page.
- A URL handle changes, for example after a product is renamed. See how to add a product on Shopify for why handles should change rarely.
- A collection is renamed, merged or retired.
- You move to Shopify from another platform. Old URLs that aren’t redirected are a common reason a store loses its rankings after a migration.
When a redirect doesn’t work
| Cause | What to know |
|---|---|
| The old URL still loads a page | Redirects only work from URLs that show a 404 or Page not found. Delete, hide or unpublish the old page first |
| Reserved paths | /collections/all, /collections/vendors, /collections/types, /apps/, /a/, /community/ and /tools/ can’t be redirected |
| Blocked prefixes | URLs starting with /apps, /application, /cart, /carts, /orders, /services or /shop can’t be redirected |
| Collection tag filters | A URL such as /collections/vases/stoneware counts as valid even without products, so it can’t be redirected |
| .html endings | A URL ending in .html can’t be redirected to the same URL without it, because Shopify treats them as one |
| Query strings | URLs with parameters, such as ?ref=, might not redirect as expected |
| Browser cache | Browsers and search engines cache 301 redirects, so a deleted redirect can keep working for a while |
Check both URLs for typos, and test in a private window or another device. One more trap: a redirect from /404 to / stops the theme editor from showing your 404 page.
Redirect hidden products and collections
Because redirects only work from broken URLs, you can pair them with visibility. Hide a fall collection in summer, and its URL returns a 404, so a redirect from /collections/fall to /collections/summer starts working. Products work the same way when you set them to Draft or remove them from all sales channels. Make the collection or product visible again, and Shopify deletes the redirect automatically, so recreate it the next time you hide it.
Redirects in many markets
A redirect applies to every market and language subfolder. A redirect from /products/blue-t-shirt to /collections/t-shirts also sends /en-ca/products/blue-t-shirt to /en-ca/collections/t-shirts. Create separate redirects only when a market should land somewhere else.
Translated URL handles get redirects too. When you add a translated handle in Translate & Adapt, Shopify redirects the default language URL to the translated one and adds it to the sitemap. See Shopify Translate & Adapt and international SEO for Shopify.
Managing redirects in bulk
- Import a CSV of old and new URLs from the URL redirects page, using Shopify’s sample template. That’s the way to bring a migration’s redirects in.
- Export your redirects as CSV to review or back them up.
- Filter by date added, save the filter as a tab, and edit or delete several redirects at once.
Then check Search Console’s indexing report for 404 pages Google still finds, and add redirects for the ones that matter. See the Shopify SEO checklist for the rest of the technical basics.
Fewer broken URLs to begin with
Redirects repair URLs after they break, and most breaks start in product data: a product deleted and created again instead of updated, a handle rewritten every time a title changes, a translated handle that drifts from one version to the next. Each one leaves a redirect to make in every market that linked to it.
In Covada, a product is updated where it is, not replaced, so it keeps its URL. Every version of its description, SEO title, meta description, metafields and media is kept, and an earlier one can be applied again. You choose whether URL handles are translated and whether handles already set in Translate & Adapt are overwritten, and links inside descriptions point to each store’s own pages.
Content History for the meta title of the Halde Tall Vase in Covada: a draft and two published versions, with Apply.
Common mistakes
- Redirecting everything to the home page, instead of the closest product or collection.
- Creating a redirect while the old page still exists, so nothing happens.
- Changing URL handles often, leaving chains of redirects behind.
- Forgetting a migration’s old URLs, which is how stores lose rankings in the move.
- Making a hidden collection visible again and expecting its redirect to come back.
Frequently asked questions
How do I create a redirect in Shopify?
From your Shopify admin, go to Content > Menus, click View URL Redirects and then Create URL redirect. Enter the old URL in Redirect from and the new one in Redirect to, such as / for the home page, and click Save redirect. It works immediately, as long as the old URL no longer loads a page.
Are Shopify redirects 301 redirects?
Yes. Shopify’s URL redirects are permanent 301 redirects, which pass visitors and search engines on to the new URL. Browsers and search engines cache them, so removing one can take a while to take effect.
Why is my Shopify redirect not working?
Most often the old URL still loads a page, so delete, hide or unpublish it first. Also check for typos, reserved paths such as /collections/all, blocked prefixes such as /cart, collection tag filter URLs, and your browser’s cache.
How many URL redirects can a Shopify store have?
Up to 100,000, or up to 20 million on Shopify Plus. You can import and export them as a CSV file from the URL redirects page.
Does Shopify create a redirect when I change a URL handle?
When you add a translated URL handle in Translate & Adapt, Shopify creates a redirect from the default language URL. For other handle changes, check that the old URL redirects, and create the redirect yourself under Content > Menus if it doesn’t.