Magento → Shopify · SEO
Building a Magento to Shopify redirect map.
Redirects are where migrations keep or lose their Google rankings. Magento and Shopify structure URLs differently, so every old URL needs a 301 to its new home — with reserved paths and locale URLs handled correctly. Here’s how to build a redirect map that protects your traffic.
Quick answer
Build the map in this order: inventory every Magento URL, rank pages by traffic and backlinks, map each URL key to its new Shopify handle (under /products/, /collections/, /pages/ or /blogs/), handle reserved paths and locale/store-view URLs, then bulk-import the 301s into Shopify and test that every top page resolves in a single hop. Protect your best pages first, then apply bulk rules, then fix exceptions — and monitor Search Console after launch.
The 6 steps
1. Inventory every URL
Crawl the live Magento site and export URL keys from the database. Add every URL that has backlinks or traffic — products, categories, CMS pages, and old campaign URLs — so nothing is missed.
2. Rank pages by value
Pull your top landing pages from Search Console and analytics. These are your “protect at all costs” URLs — they get individually verified redirects before anything else.
3. Map keys to Shopify handles
Magento URL keys become Shopify handles under /products/, /collections/, /pages/ and /blogs/. Build rule-based mappings for the bulk, then handle exceptions by hand.
4. Handle the traps
Check Shopify’s reserved paths (you can’t redirect to or from some system routes), decide how query-string URLs collapse, and map locale/store-view URLs to the right Markets subfolders or domains.
5. Import and test
Import the 301s via Shopify’s URL redirects (bulk CSV) or the API. Then test: every top page should resolve directly or via a single 301 — no chains, no loops, no 404s.
6. Monitor after launch
Watch Search Console coverage and 404 reports daily for the first weeks. Regional traffic drops almost always trace back to a missed redirect rule or wrong market targeting — catch them fast.
The mistakes that cost rankings
- Redirect chains and loops. Old URL → intermediate → final wastes crawl budget and link equity. Every redirect should be a single hop to the final Shopify URL.
- Ignoring locale URLs. Store-view URLs sent to the wrong market subfolder are the #1 cause of regional traffic drops after a Magento migration.
- Redirecting everything to the homepage. A category that 301s to the homepage loses its rankings. Map to the closest equivalent page, not a catch-all.
- Skipping reserved paths. Shopify reserves some system routes; a rule that collides with them silently fails. Check before you bulk-import.
Frequently asked questions
Will I lose rankings migrating from Magento to Shopify?
Only if the redirects are wrong. Magento and Shopify use different URL structures, so every old URL needs a 301 redirect to its closest new equivalent. Done properly — with your top pages verified individually, reserved paths checked, and locale URLs mapped correctly — rankings transfer and often improve. Most public “we lost traffic” stories trace back to broken 301s or wrong international targeting.
How do I create a Magento to Shopify redirect map?
Inventory every Magento URL (crawl the site and export URL keys), rank pages by traffic and backlinks, map each URL key to its new Shopify handle under /products/, /collections/, /pages/ or /blogs/, handle reserved paths and locale URLs, then import the 301s into Shopify. Protect your top pages first, then apply bulk rules, then clean up exceptions.
How do I import redirects into Shopify?
Shopify supports URL redirects in the admin under Online Store → Navigation → URL Redirects, and you can bulk-import them via CSV or the API for large maps. For a big Magento catalogue, a bulk import (or a redirect app) is the practical route — manually adding thousands of redirects one by one isn’t realistic.
What about my Magento store-views and languages?
Magento often uses store-views for languages or regions with their own URLs. On Shopify these usually become Markets with locale subfolders (or separate domains). Your redirect map has to send each old localized URL to the correct Shopify market URL — this is one of the most common places international traffic drops after a migration.
Should redirects be part of the migration or a separate job?
Treat redirects as their own workstream, not an afterthought hidden inside the product import. They carry your SEO equity, so they deserve a dedicated inventory, mapping, testing and post-launch monitoring plan — which is exactly how we run them.
An official Shopify Select Partner
Vetted by Shopify and trusted by brands across the US, UK, Canada, Singapore, UAE, Australia and India — with a money-back guarantee and on-time delivery on every build.
Don't gamble your rankings on the cutover
We build and test the full redirect map, then monitor rankings daily after launch. Get a fixed migration quote.