In this article
- Shopify only redirects a URL that returns a 404, so a page that still loads quietly blocks its own redirect.
- A store can hold 100,000 redirects, or 20,000,000 on Plus, and the path rules bite long before the count does.
- Changing a page, blog or blog post handle offers a pre-selected redirect, but deleting a product leaves a 404 until you add one.
- Google advises redirecting straight to the final URL, keeping chains under five hops and keeping redirects for at least a year.
- Redirecting many old URLs to your home page can be treated as a soft 404, so map each one to its closest match.
A Shopify URL redirect sends anyone who requests an old address on your store to a new one, and you set it up in your admin under Content > Menus > View URL Redirects. It fires only when the old URL no longer loads a page, and a standard store can hold up to 100,000 of them.
Getting redirects wrong costs you quietly. Rename a handle, delete a discontinued product or move from another platform, and every bookmark, ad, backlink and search result pointing at the old address lands on a Page not found screen. Shopify’s own SEO help lists redirects that were never implemented after a migration as one reason a store doesn’t appear in search results. Of all the jobs in our Shopify SEO guide, this is the one that breaks without telling you.
What does a Shopify URL redirect do for your rankings?
It tells browsers and Google that a page has moved for good. Google’s documentation on redirects says a permanent redirect is a strong signal that the redirect target should be canonical, so Google shows the new URL in its results instead of the old one. A temporary redirect is only a weak signal, and Google keeps showing the source page.
The redirects you make in Shopify are the permanent kind. Shopify’s SEO overview tells you to “set up 301 redirects when moving or discontinuing products.” Its help page on URL redirects warns that “301 redirects are cached by browsers and search engines,” so a redirect you remove can keep working for customers who already followed it until their cache expires. The redirect form has two fields, Redirect from and Redirect to, and no setting for a temporary redirect.
Permanent is what you want for a renamed or retired page. Google’s site move guidance says 301, 302 and other server-side redirects “don’t cause a loss in PageRank.” When you redirect a URL, Google keeps track of both addresses and picks one as canonical, partly based on whether the redirect was permanent. Without a redirect, the old URL returns a 404, and Google says indexed URLs that return a 4xx code are removed from its index. The links and history behind that URL then point at nothing.
Google also notes that platforms such as Shopify may already have built-in redirect tools, so you don’t need server access. You get a form instead of server rules, and the form has rules of its own.
How is a Shopify URL built, and which part can you change?
Every Shopify URL is a fixed folder that names the type of content, followed by a handle you control. Products sit under /products/, collections under /collections/, pages under /pages/ and blog content under /blogs/. Shopify’s help pages describe the URL handle as the part of the web address you can change, so the folder in front of it stays as it is.
| Content type | URL pattern | Example |
|---|---|---|
| Product | /products/ then the product handle | /products/blue-t-shirt |
| Collection | /collections/ then the collection handle | /collections/t-shirts |
| Page | /pages/ then the page handle | /pages/shipping-policy |
| Blog post | /blogs/ then the blog handle and the post handle | /blogs/journal/linen-care-guide |
| All products | A fixed Shopify path | /collections/all |
Shopify’s redirect help lists /products, /collections and /collections/all as fixed paths you can’t redirect. That rule covers the bare folders. An individual product or collection URL beneath them can be redirected once it stops loading, which is exactly what Shopify’s own example does when it sends a deleted /products/blue-t-shirt to /collections/t-shirts.
This structure is why a move to Shopify usually needs redirects. Shopify’s migration checklist gives the example of a shipping policy at example.com/policies/shipping-policy on an old platform that might become example.com/pages/shipping-policy on Shopify, and warns that old links to specific pages “likely won’t load for customers.” The same thing happens inside your store. Turn a page into a collection, or fold a blog post into a product page, and the address changes even if the handle doesn’t.
How do you create a Shopify URL redirect one at a time?
Use the redirect form in your admin. These are the steps from Shopify’s help center.
- From your Shopify admin, go to Content > Menus.
- Click View URL Redirects.
- Click Create URL redirect.
- In Redirect from, enter the old URL you want to send visitors away from.
- In Redirect to, enter the new URL. To send visitors to your home page, enter a single forward slash.
- Click Save redirect.
Shopify says redirects start working immediately. The destination can be a relative URL, such as /collections/summer, or a full URL that includes the domain. Shopify’s rule is to use a relative URL for anything within your primary domain and a full URL for anywhere else. You can also put Liquid code in either field, but Shopify notes that full field validation can’t run when you do, so a mistake in a Liquid path won’t be caught for you.
Here’s how that plays out for a discontinued product. Say you sold a canvas tote at /products/canvas-tote and deleted it when the supplier stopped making it. Enter /products/canvas-tote in Redirect from and /collections/tote-bags in Redirect to. Anyone following an old link, ad or search result now lands on the bags you still sell, which is the closest thing to what they came for. Shopify’s own example works the same way, sending a deleted product to a similar one.
Why will Shopify only redirect a broken URL?
Because a Shopify redirect is a fallback, not an override. Shopify’s help center says “You can redirect only from broken URLs,” meaning pages that show an error such as Page not found or 404, and that “If the URL still loads a valid webpage, then the URL redirect won’t work.” The live page always wins.
That’s the first thing to check when a new redirect seems to do nothing. You save it, test it, and the old product still loads, because it’s still published. Shopify’s troubleshooting list for redirects includes this exact check, making sure the Redirect from URL doesn’t have an active page.
You don’t have to delete anything to make a URL redirectable. Shopify documents three ways to turn a live address into a 404 while keeping the item in your admin.
- Set a collection’s Online store visibility to Hidden.
- Set a product to Draft status.
- Remove a product from all sales channels.
Shopify’s worked example hides a fall collection over the summer and redirects /collections/fall to /collections/summer, so shoppers who follow an old fall link see what’s in season. That makes seasonal and out-of-stock changes reversible, as long as you remember the redirect won’t survive the item coming back. It also explains the reverse case. Every deleted product, and every URL from a platform you’ve left, becomes redirectable the moment it returns a 404.
What happens to the old URL when you change a handle?
Shopify’s help pages document one case where it sets up a redirect for you, when you change a URL handle and keep the redirect option selected. The articles for pages, blogs and blog posts each describe a “pre-selected option to Create a URL redirect” when you change the web address, after which “the old web address redirects to the new web address.” For products, the help page says you can change part of the web address in the URL handle field, and warns you not to edit it too often or the product might not display in search engine results.
- Open the product, page or blog post in your admin.
- In the Search engine listing section, click the pencil icon.
- Change the URL handle, using dashes instead of spaces.
- If the Create a URL redirect option appears, keep it selected, then click Save.
If you change a product or collection handle and don’t see a redirect option, add the redirect yourself under URL redirects. Deleting an item doesn’t set one up. Shopify’s example for a deleted product has you create the redirect by hand, and until you do, the old URL returns a 404.
If you delete products often, Shopify Flow has a Create redirect URL action. Shopify’s example workflow creates a redirect whenever a product is deleted, sending visitors to a page about discontinued products, though it builds the old address from the product’s title and might not work for a product with a customized handle.
You rarely need to change a handle at all. The title tag and meta description are separate fields, so our notes on titles and meta descriptions in Shopify show how to change what searchers see without touching the address.
How do you import Shopify 301 redirects in bulk with a CSV?
Use the import when you have more than a handful to add, such as after a catalog clean-up or a platform move. Shopify’s redirect page offers a sample URL redirect CSV file to download and use as a template. It has two columns, Redirect from and Redirect to, and its sample row sends /example_product.php to /products/example-product, an old platform’s address mapped to a Shopify one.
- From your Shopify admin, go to Content > Menus.
- Click URL redirects.
- Click Import.
- Click Add File and select your CSV file.
- Click Upload file.
- Review the import.
- Click Import redirects, then click Close.
Before you import anything, export what you already have. Under URL redirects, click Export, choose which redirects to include, select the type of CSV file and click Export URL redirects. That file is your backup if a bad import sends hundreds of paths to the wrong place, and it’s the same file you’ll use to find chains later.
A few habits keep the file clean. Use relative paths for anything on your own store, list each old path once, and point every row at a page that loads today rather than one you plan to build. Check that no Redirect to value also appears in the Redirect from column, because that’s how chains slip in. For very large jobs, Shopify’s own tip is to consider a third-party app. If you’re bringing a catalog over from another platform, our review of Shopify migration apps compares the import tools.
You can also fix existing redirects in bulk. In the URL redirects list, select the ones you want to change, click Edit redirect, enter the changes and save.
What are Shopify’s redirect limits?
A store can hold a maximum of 100,000 URL redirects, or 20,000,000 if it’s on the Plus plan, according to Shopify’s help center. If you’re heading toward the cap, look at what you’re redirecting. Redirecting every filtered and parameter version of every old URL multiplies the count fast, while Google’s site move guidance starts with your important URLs, the ones in your sitemaps, getting traffic or carrying links.
The count is rarely the limit that bites. The path rules are.
| What you can’t redirect | Examples from Shopify’s help center |
|---|---|
| URLs that begin with a reserved prefix | /apps, /application, /cart, /carts, /orders, /services, /shop |
| Fixed Shopify paths | /products, /collections, /collections/all |
| Other reserved paths | /collections/vendors, /collections/types, /a/, /community/, /tools/ |
| Collection tag filter URLs | /collections/collection-name/tag-name, even if no product carries the tag |
| A .html URL to the same URL without .html | Shopify treats the two as the same URL |
| Customer account menus | Redirects aren’t supported there |
Two more notes from the same page. URLs with query strings “might not work as expected,” so test any redirect from an address that contains a question mark. And a “Redirect Limit Exceeded” error from the Admin API has nothing to do with the 100,000 cap. Shopify says it means an API request is causing too many server redirects, and suggests contacting the developer of any app that might be causing it.
How do redirect chains build up on a Shopify store?
One sensible redirect at a time. A chain forms when a redirect points at a URL that later gets redirected itself. Say you delete a linen shirt and redirect /products/linen-shirt to /products/linen-shirt-v2. A year later you retire the new version too and redirect it to /collections/shirts. The first redirect still points at the second shirt’s address, so anyone following an old link to the original makes two hops before reaching a page.
Google’s site move guidance is specific about this. Googlebot can follow up to 10 hops in a chain, but Google advises redirecting to the final destination directly, and where that isn’t possible, keeping the chain “ideally no more than 3 and fewer than 5.” Chains add latency for users, and not all browsers support long ones. Past 10 hops, Search Console reports a redirect error. Loops are the extreme case. Redirect A to B, later redirect B back to A after both pages are gone, and the request never reaches a page.
Finding chains takes a few minutes in a spreadsheet.
- Export all redirects from Content > Menus > URL redirects.
- Open the CSV and add a column that checks whether each Redirect to value also appears in the Redirect from column, using a COUNTIF or MATCH formula.
- For every match, change the first redirect so it points straight at the final destination.
- Delete any redirect whose destination now returns a 404, or point it at a live page.
- Make the edits in the admin, one at a time or with Edit redirect in bulk, then test a sample.
Watch for chains that start before Shopify, too. If your old site already redirected older URLs to newer ones, map the original URLs straight to their final Shopify address so the old chain doesn’t carry over.
How do you find the 404s that still need redirects?
Shopify’s redirect list shows the redirects you’ve made, not the broken URLs people are hitting, so you need other sources. Use these three.
- Google Search Console. The Page indexing report has a table of the issues that kept URLs out of Google’s index. Not found (404) lists broken URLs Google has found. Google says they’re “not necessarily a problem, if the page has been removed without any replacement,” but that a page that moved needs a 301 redirect to its new location. Redirect error flags chains that run too long, loops and bad URLs inside a chain.
- Your own list of old URLs. After a migration, compare the old site’s sitemap or crawl against the new store. Google’s site move guidance suggests starting with the URLs in your sitemaps, the ones with the most traffic in your analytics and the pages with internal and external links in Search Console.
- An app that logs 404s. Shopify’s migration checklist notes that SEO apps can monitor broken links. Our comparison of the best Shopify SEO apps covers which ones do it.
Not every 404 deserves a redirect. Google’s site move guidance says content you aren’t moving should return a 404 or 410 on the new site. Redirect the URLs that have links, traffic or a genuinely close replacement, and let typos, junk URLs and long-gone test pages stay as 404s. Sending them all somewhere just to empty the report creates the next problem. After a migration, check weekly until new Not found URLs stop appearing.
Which redirect mistakes cost a store its rankings?
Watch for these six.
- Sending everything to the home page. Google’s site move guidance says not to redirect many old URLs to one irrelevant destination, such as the home page, because it can confuse users and “might be treated as a soft 404 error.” Point each URL at its closest match. Google does accept redirecting several old pages to one new page that now holds all their content.
- Redirecting to a page that doesn’t exist. Google says it frequently sees people redirecting to wrong, non-existent URLs on the new site. On Shopify, a handle typed from memory, or a CSV imported before the products it points at, does exactly this.
- Leaving the old page live. The redirect sits in your list and never fires, because Shopify only redirects broken URLs.
- Removing redirects too soon. Google advises keeping redirects “for as long as possible, generally at least 1 year,” and from the user’s side, indefinitely.
- Assuming every market subfolder is covered. Shopify’s help says a redirect applies to your language and market subfolders, but the same page also warns that redirects “don’t automatically apply to all market subfolders” when you redirect specific locales. If you sell through subfolders such as /en-ca/, test each one, and add a separate redirect for any subfolder where it doesn’t fire.
- Redirecting /404 to your home page. Shopify says this stops the theme editor from displaying your 404 page.
If a relaunch has already cost you traffic, our checklist for lost rankings after a relaunch shows how to date the drop and tell redirect problems apart from the other causes.
How do you map redirects when you migrate to Shopify?
Build the map before you switch the domain. Shopify’s migration checklist says you can set up URL redirects in advance, before you transfer your domain, for any pages customers might have bookmarked or other sites link to. Visitors who use an old link then land on the new page instead of an error. Its SEO step adds that you can set up redirects for all your important pages and import them with a CSV file.
Google’s site move guidance describes the same job in more detail. Adapted to Shopify, it runs like this.
- List your old URLs, starting with the important ones from your sitemaps, analytics and Search Console.
- Match each old URL to its new Shopify address, product to product, category to collection and article to blog post.
- Build the CSV and import it once your products, collections and pages exist on Shopify, so every destination loads.
- Update internal links, menus and ad campaigns so they point at the new URLs directly.
- Switch the domain, test the redirects and submit your new sitemap in Search Console.
Google also advises changing one thing at a time, so if you’re replatforming and redesigning, move first and change the design later. A drop in traffic then points to one cause.
The URLs you’re mapping from depend on where you’re coming from. Our guide to a WooCommerce to Shopify migration walks through that move step by step, and we cover moving from BigCommerce to Shopify and Squarespace to Shopify separately.
What should you check after the redirects go live?
- Test a sample by hand. Shopify’s migration checklist says to enter the original URL in a browser, confirm it redirects to the target, and check the pages that were most visited on your old store. For larger samples, Google suggests the URL Inspection tool or command-line tools.
- Update your own links. Menus, product descriptions and blog posts that still use old addresses send every visitor through a redirect. Google says redirects are slow for users, so update your own links and any high-volume links from other sites.
- Submit your sitemap. Shopify generates sitemap.xml automatically and updates it when you add products, collections, pages and blog posts, so it lists your new URLs. Submit it in Search Console. Our guide to the Shopify sitemap covers finding and submitting it.
- Watch the Page indexing report. Old URLs should move into the Page with redirect group, which Google describes as non-canonical URLs that redirect elsewhere and won’t be indexed. An unusually high number of Not found errors is the warning sign Google’s site move guidance tells you to check for, because it often means redirects aimed at URLs that don’t exist.
- Give it a few weeks. Google says a medium-sized site can take a few weeks for most pages to move in its index, and rankings may fluctuate while it recrawls.
What would we do first on a store with redirect trouble?
We’d start with the export, not the import. Download your full redirect list before changing anything, because it’s your backup and your map of what already exists. Then pull the Not found URLs from Search Console and sort them by whether they have links or traffic, since those are the ones worth a redirect.
Next we’d flatten the chains, because they’re quick to fix and every later redirect builds on them. Only then would we write new redirects, each to the closest live page, and import them in one batch so the change has a date you can measure against. What we wouldn’t do is redirect every 404 to the home page to make a report look clean. That trades a visible problem for one Google may treat as a soft 404, and it buries the URLs that needed a real destination.
Your next step is small. Export your redirect list, check it for chains and look up your 404s in Search Console before you change another handle or delete another product. If a platform move is on your calendar, build the redirect map before the domain moves, not after the traffic drops. When you’d rather have someone else build and test that map, look at our Shopify migration services.
Frequently asked questions
How do I redirect a URL on Shopify?
Go to Content > Menus in your Shopify admin, click View URL Redirects and then Create URL redirect. Enter the old path in Redirect from, enter the new page in Redirect to and click Save redirect. It works straight away, but only if the old URL no longer loads a page, so delete, hide or draft the old content first.
Why is my URL redirect not working in Shopify?
Usually because the old URL still loads a page. Shopify redirects only broken URLs, so a live product, page or collection at that address wins over the redirect. Also check both fields for typos, make sure the old URL isn't a fixed path such as /collections/all or a reserved prefix such as /cart, and clear your browser cache or test on another device.
Are 301 redirects permanent?
Yes. A 301 status means moved permanently, and Google treats it as a strong signal that the new URL should replace the old one in search results. You can still delete a 301 later, but browsers and search engines cache it, so it may keep working for past visitors until their cache expires. Use one only when the old URL isn't coming back.
How to set 301 redirect in Shopify?
Create it under Content > Menus > View URL Redirects, or keep the redirect option selected when you change a page, blog or blog post handle. Shopify doesn't ask you to pick a redirect type, and its help center describes its redirects as 301s that browsers and search engines cache. To add many at once, import a CSV file from the same URL redirects screen.
How do I change the URL of a page on Shopify?
Go to Online Store > Pages, open the page and click the pencil icon in the Search engine listing preview section. Edit the URL handle, the part after /pages/, using dashes instead of spaces. Keep the pre-selected Create a URL redirect option so the old address forwards to the new one, click Save, then update any menu links that still use the old address.
How do I redirect a domain to another domain?
If both domains are connected to your Shopify store, make the one you want to keep your primary domain. In your admin, go to Settings > Domains, click that domain, click Change domain type, select Primary domain and save. Shopify then redirects your other domains, including the default myshopify.com address, to it. A new domain must show Connected status first, which can take up to 48 hours.
How do I create a 301 redirect?
It depends on where your site runs. On a server you control, add a permanent redirect rule, such as Redirect permanent in an Apache .htaccess file or return 301 in an NGINX location block, or send a 301 header from PHP. On a hosted platform such as Shopify, use its built-in redirect tool instead. Google recommends permanent server-side redirects whenever possible.
How do you fix redirects?
Start by exporting your full redirect list. Look for Redirect to values that also appear in Redirect from, which are chains or loops, and point each one straight at its final live page. Delete or repoint redirects whose destination now returns a 404, unpublish any page that blocks its own redirect, then retest the old URLs and recheck Search Console for redirect errors.



