Skip to content

Website guide

How to Set Up URL Redirects in Shopify

Go to Content > Menus > View URL Redirects, create a redirect or import a CSV, and it works at once. It only fires when the old URL returns a 404, never while the old page still loads.

Figment editorial teamPublished Updated

Shopify's URL Redirects live under Content > Menus in your admin, work for a single URL or a bulk CSV import, and take effect immediately, but only for a URL that is actually broken. If the old address still loads a real page, Shopify will not redirect it however the rule is set. That one rule explains most "my redirect isn't working" reports, so check it first. The limits below come from Shopify's help center.

How do I create a single URL redirect in Shopify?

Go to Content > Menus, click View URL Redirects, then Create URL redirect. In Redirect from, enter the old path. In Redirect to, enter the destination: a relative path like /collections/t-shirts within your own domain, or a full URL (https://example.com/...) to send traffic elsewhere. To redirect to your homepage, enter /. Click Save redirect. Shopify's documentation says "URL redirects start working immediately", so there is no propagation delay as there sometimes is with DNS changes.

You can use Liquid in the Redirect from and Redirect to fields for more dynamic matching, but Shopify notes that "full field validation can't be performed when using Liquid in your paths". Test a Liquid-based redirect carefully before you rely on it.

Why is my Shopify redirect not working?

Most often the old URL still loads a page. You can only redirect from a broken URL. Shopify's help center says: "you can redirect only from broken URLs. Broken URLs display error messages, such as Page not found or 404, on a page or in the page title. If the URL still loads a valid webpage, then the URL redirect won't work." A redirect does not override a page that resolves. It activates only for a path that currently returns a 404.

So if you redirect /collections/summer to /collections/summer-2026 while the summer collection is still live, the redirect does nothing. Shopify's own example shows how to use this deliberately: set a collection's Online store visibility to Hidden, which turns its URL into a 404, and the redirect then works. The same applies to a product: setting it to Draft or removing it from all sales channels makes its URL return a 404 and eligible for a redirect.

The reverse also holds. If you set that collection or product back to Visible, Shopify deletes the redirect, because "redirects only work for URLs that return 404 errors." If you hide the content again later, you must recreate the redirect.

Other causes from Shopify's troubleshooting list:

  • A typo in the Redirect from or Redirect to field.
  • The Redirect from URL uses a path prefix Shopify does not allow you to redirect (see the next section).
  • Your browser has the old page cached. Shopify recommends clearing your cache or testing on another device before you assume the redirect is broken.

Which URLs can't I redirect in Shopify?

Shopify blocks redirects from several kinds of path. Check this list before you build a large redirect map:

  • Reserved prefixes: any URL beginning with /apps, /application, /cart, /carts, /orders, /services, or /shop.
  • Fixed Shopify paths: /products, /collections, and /collections/all, which are core storefront routes Shopify manages directly.
  • Additional reserved paths: /collections/vendors, /collections/types, /apps/, /a/, /community/, /tools/, and myshopify.com domain paths ending in /shop or /services.
  • Collection tag-filtered URLs: a URL like yourstore.com/collections/collection-name/tag-name cannot be redirected, and Shopify notes this holds "even if no products exist with that tag" because the path is still considered valid.
  • .html variants: a URL ending in .html cannot be redirected to the same URL without the extension, because Shopify treats them as the same URL internally.
  • URLs with query strings: paths containing query parameters "might not work as expected with URL redirects."

If you are moving from another builder, mapping old URLs to new Shopify URLs is a separate, larger job. See our guide to redirects when changing website builders for the inventory and mapping process, and our guide to moving a store to Shopify for the migration itself.

How do I set up Shopify redirects in bulk with a CSV?

Use CSV import for anything beyond a handful of redirects.

To export your existing redirects: go to Content > Menus, click URL redirects, click Export, choose which redirects to include, select a CSV format, and click Export URL redirects.

To import a new batch: go to Content > Menus, click URL redirects, click Import, click Add File and select your CSV, click Upload file, review what Shopify parsed, then click Import redirects. Shopify provides a downloadable sample CSV with two columns, the old path and the new one.

For a very large list, Shopify emails you a download link instead of generating the file immediately, which can take a few minutes.

A store can hold a limited number of redirects: standard Shopify plans cap at 100,000 URL redirects, and stores on the Plus plan can hold up to 20,000,000. For nearly every store the standard cap is far more than needed.

Do Shopify redirects apply across market subfolders?

Yes, by default. If you sell in several markets using subfolders, for example a US store at example.com and a Canadian market at example.com/en-ca, one redirect applies across every subfolder. Shopify's example: delete a product and create one redirect from /products/blue-t-shirt to /collections/t-shirts, and both example.com/products/blue-t-shirt and example.com/en-ca/products/blue-t-shirt redirect, each to its own market's version of the destination. If a specific market needs a different destination, you can create an individual redirect scoped to that subfolder.

How do I edit or remove Shopify redirects?

From the same Content > Menus > URL redirects screen, select one or more redirects, click Edit redirect, make your changes, and save. To delete, select the redirects and click Delete selected redirects.

Shopify points out that "301 redirects are cached by browsers and search engines," so after you delete a redirect, some visitors' browsers may keep following the old one until that cache expires.