URL Redirects Migration to Shopify
Last updated August 2026
Planning and implementing URL redirects when migrating to Shopify, ensuring all old URLs properly redirect to their Shopify equivalents to preserve SEO value and user experience.
Complexity6/10
Affected platforms11
ApproachSee below
What transfers
- 301 redirects from old URLs to new Shopify URLs
- URL pattern mappings for bulk redirects
What does NOT transfer: Shopify migration tools cannot transfer all data types. The following are commonly lost during migration.
- Automatic redirect generation (must be created manually or via import)
- Platform-specific redirect rules (regex, conditions)
- Redirect chains (multiple hops should be collapsed)
- HTTPS enforcement rules (Shopify handles this automatically)
Risks and common problems
- Missing redirects for high-traffic landing pages
- Redirect loops caused by incorrect mappings
- Exceeding Shopify's 100,000 redirect limit
- Redirects to deleted/archived products
- Query parameter handling differences
- Case sensitivity differences between platforms
Recommended approach
Export all URLs from the source platform (products, categories, CMS pages, blog posts). Map each URL to its Shopify equivalent. Create a URL redirect CSV and import via Shopify admin or API. Prioritize high-traffic URLs first. Test a random sample before bulk import.
Technical notes
- Shopify URL Redirects: POST /admin/api/2026-07/graphql.json
- Format: { redirect: { path: '/old-url', target: '/new-url' } }
- Path must start with / and be relative
- Target can be relative (/products/new-slug) or absolute (https://)
- URL redirects only work on the primary domain
- Redirects are checked BEFORE Shopify's URL routing
- Regex-based bulk redirects are not natively supported in Shopify
- For complex redirect rules, use a proxy/CDN (Cloudflare Workers, Fastly)
Platform-specific guides
URL Redirects Migration by platform:
Related migration problems
References
Free assessmentPlanning a Shopify migration?
Get a free assessment of your migration complexity and risks.
Assess my store