Commerce Guide

Shopify

Shopify URL Redirects: Create, Import and Test a 301

Create Shopify redirects, check active-path restrictions, review CSV mappings and verify destinations across products and market URLs.

Topic: ShopifyBy SearchGlint Editorial Team4 min read
On this page

Create Shopify URL redirects in Content → Menus → URL redirects, then verify the old address reaches the intended live page. The important limitation is that Shopify redirects generally apply to broken URLs: an active page at the old address can prevent the rule from working.

Decide whether a redirect is the right change

Use a permanent redirect when a page has moved or a retired product has a genuinely useful successor. Choose the destination according to what a visitor expected at the old URL.

For example, an old product replaced by a newer version may have a clear destination. A discontinued specialty item with no substitute may not. Redirecting every unavailable item to the homepage can conceal the problem while leaving the customer without an answer.

Keep a short mapping with the old path, new path, reason and verification result. Do this before editing handles or importing a file. If a handle change offers an option to create a redirect automatically, inspect the resulting rule and test it rather than assuming the checkbox finished the job.

Add and test one explicit rule

In Shopify admin, open Content → Menus and the URL redirects view. Create a redirect with the old path in Redirect from and the destination in Redirect to, then save. Relative paths are useful for destinations within the primary domain; external destinations require a full URL.

Shopify reserves some paths and prefixes, including operational areas and fixed collection or product routes. Check the current restrictions in the official documentation before applying a broad migration map. Do not try to force a redirect by deleting useful live content merely to satisfy the rule’s requirements.

Use this illustrative mapping to understand the fields:

Redirect from Redirect to Editorial reason
/products/old-travel-mug /products/travel-mug Same product moved to a stable handle
/pages/old-sizing /pages/size-guide Replacement sizing instructions

These are examples to replace with your own verified URLs.

Verify the response, destination and content

Request the old URL in a fresh session and inspect its redirect route. Open the final page and confirm the product, language and market are appropriate. Check the destination returns 200 and its canonical points to the intended URL.

Recorded HTTP route before and after changing two redirects into one.
Source: SearchGlint controlled local HTTP test, 6 November 2026.

Our controlled HTTP example shows the difference between a two-step chain and a direct redirect. It is a routing demonstration, not a screenshot of a Shopify store. The same acceptance question applies: does the old link reach the correct final page without unnecessary intermediate moves?

If a rule appears ineffective, inspect the old page first. An active URL, reserved path, spelling difference or cached response may explain the behavior. Shopify also documents limitations involving query strings. Test the exact URL visitors use, including meaningful parameters, rather than only its simplified path.

Check markets individually

Include the actual localized URLs in your test list. A destination that is correct for the primary market can send another visitor to the wrong language, currency or unavailable product.

The current Shopify help page describes both automatic subfolder behavior and cases requiring individual redirects. Because those instructions cover different scenarios and are not completely consistent, verify each market path in your store and create explicit mappings where the intended result is missing. A successful primary-domain test is not sufficient evidence for every locale.

Use CSV imports after the pilot passes

Export the existing redirect list as a backup. Download Shopify’s current sample CSV and use its exact headers. Populate the approved mapping, check duplicate sources and ensure no destination leads back to another source in a loop.

Import a small reviewed batch first. Shopify’s workflow includes a review step before importing redirects. Afterward, test a sample from each rule type and every high-value landing page. Keep the imported file and results so another person can understand what changed.

Change menus, product descriptions, collection copy, buying guides and campaign destinations to the new URL. Check sitemap and canonical output as part of the Shopify SEO checklist. Redirects are for old entrances, not the preferred route for newly published links.

For a platform migration, use the broader SEO migration plan and monitor errors after launch. For a stubborn multi-step route, the redirect chain guide explains how to identify which system owns each hop.

Sources

Written by SearchGlint Editorial Team

How we research and review our guides