How to Migrate to Shopify Without Losing SEO
A Shopify replatform keeps its rankings when every old URL has a mapped 301, metadata and schema move with the content, and a crawl proves it all before DNS flips. Here's the full playbook.
To migrate to Shopify without losing SEO, list every URL on the old site, map each one to its closest Shopify URL, and import those 301 redirects by CSV before you switch DNS. Move titles, meta descriptions, alt text and schema with the content. Crawl the new store before launch, then watch Search Console daily for 30 days.
A replatform is where a lot of stores give back years of organic growth in one weekend. The cause is rarely Shopify. It's the gap between the old URL pattern and Shopify's fixed one, plus metadata that never made it into the import file. Google says traffic can wobble for a few weeks even on a clean move, as its site move guide explains. A messy move turns that wobble into a lasting drop.
This playbook covers Shopify's URL patterns, building the redirect map, the CSV import and its limits, what can't move, metadata and structured data, the pre-launch crawl, launch day in Search Console and the first 30 days of monitoring. It works for moves from Magento, WooCommerce and BigCommerce.
Key takeaways
- Shopify's folders are fixed. Products, collections, pages and posts each live under a set path, so almost every old URL needs a redirect.
- Map one to one. Send each old URL to its closest match, never everything to the home page.
- Know the reserved paths. Shopify won't redirect from paths that start with /cart, /shop and a few others, so check your top pages against that list early.
- Passwords don't move. Customers sign back in with a one-time code or set a new password, so plan the message.
- Crawl before DNS flips. A full crawl of the old URL list against the new store catches 404s, chains and loops while they're still cheap to fix.
Why do stores lose SEO when they move to Shopify?
Search engines rank URLs, not products. When a product moves from one URL to another, Google has to learn the new address and carry the old signals across. A 301 redirect tells it to do that. Without one, the old URL returns a 404 and its links and history go nowhere.
Four things cause most losses:
- Missing redirects. A category or blog post gets left out of the map, and its traffic disappears.
- Lazy redirects. Thousands of old URLs point to the home page. Google warns against this, and those signals mostly go to waste.
- Lost on-page content. Category intro copy, FAQ blocks and custom titles don't come over in the product export.
- New technical problems. A theme links to duplicate URLs, an app adds a second Product schema, or internal links still point at old paths.
The first two are redirect work. The last two are content and theme work. This playbook handles both, in the order you'd do them.
What URL patterns does Shopify use?
Shopify gives each content type a fixed folder. You pick the handle at the end. You can't rename the folder.
| Content type | Shopify URL pattern | Example |
|---|---|---|
| Product | /products/{handle} | /products/merino-crew-sock |
| Collection | /collections/{handle} | /collections/hiking-socks |
| Product inside a collection | /collections/{handle}/products/{handle} | /collections/hiking-socks/products/merino-crew-sock |
| Page | /pages/{handle} | /pages/size-guide |
| Blog post | /blogs/{blog-handle}/{post-handle} | /blogs/news/how-to-wash-merino |
| Blog index | /blogs/{blog-handle} | /blogs/news |
| Policy | /policies/{policy} | /policies/refund-policy |
The product-in-collection path is worth a note. It loads the same product with a canonical tag pointing to the clean /products/ URL. That's fine for SEO, but your theme should link to the clean URL. The Shopify technical SEO guide covers that fix.
Now compare that with where you're coming from:
| Old platform | Typical product URL | Typical category URL | What changes on Shopify |
|---|---|---|---|
| WooCommerce | /product/merino-crew-sock/ | /product-category/hiking-socks/ | Prefix swap, trailing slash gone |
| Magento | /merino-crew-sock.html | /socks/hiking-socks.html | Suffix dropped, nesting flattened |
| BigCommerce | /merino-crew-sock/ | /socks/hiking-socks/ | Folder added, nesting flattened |
The WooCommerce permalink docs confirm its defaults: a product base of product and a category base of product-category. Magento and BigCommerce stores vary more, because both let admins pick URL formats. Pull the real URLs from the site, not from the settings screen.
Why nested categories are the hard part
Shopify collections are flat. There's no /collections/socks/hiking-socks. So a three-level category tree on Magento becomes a set of single-level collections on Shopify. You'll need a naming rule for the new handles, like "use the child name unless it clashes, then prefix the parent". Decide it once and write it down. The redirect map depends on it.
How do you build the redirect map?
A redirect map is a two-column sheet: old URL, new URL. Every old URL that has traffic, links or rankings gets a row. My default is to include every indexable URL, not just the top ones. Rows are cheap. Missed pages aren't.
Collect every old URL
Pull from more than one source, because each one misses something.
| Source | What it catches | What it misses |
|---|---|---|
| Old XML sitemap | Products, categories, posts the platform lists | Orphan pages, old URLs already redirected |
| Full site crawl | Everything linked internally | Orphan pages with backlinks |
| Search Console Performance export | URLs that earned clicks or impressions | Pages with no search data |
| Analytics landing pages | URLs with real visits | Pages only bots see |
| Backlink tool export | URLs other sites link to | Recent pages |
| Existing redirect list on the old platform | Old-old URLs already pointing somewhere | Nothing new |
Google's site move guide suggests the same mix: sitemaps, server logs, analytics and your CMS. Don't forget image URLs if image search sends you traffic.
Dedupe the combined list. Normalize it: lowercase the host, strip tracking parameters, and decide how to treat trailing slashes. Then you have one clean column of old URLs.
Match old to new
Most rows match by slug. If the old product was /product/merino-crew-sock/ and the new handle is merino-crew-sock, the match is automatic. The work is in the rows that don't match.
Our free redirect map builder does the first pass. Paste the old URLs and the new URLs, or two sitemaps. It matches them by slug and flags what's left: old URLs with no match, duplicates, chains and loops. Then it exports a Shopify redirect CSV and a Next.js or Vercel redirects JSON if part of the site lives elsewhere.
For the rows it can't match, use this decision table:
| Old URL type | No exact match because | Send it to |
|---|---|---|
| Discontinued product | Item is gone for good | Closest replacement product, else its main collection |
| Variant URL | Old platform gave each color its own page | The parent product |
| Merged category | Two categories became one collection | The merged collection |
| Filtered category page | Old filter made a real URL | The parent collection |
| Blog post | Post moved to /blogs/news/ | The same post on Shopify |
| Thin tag or archive page | Not worth rebuilding | The closest collection or blog index |
| Account, cart or checkout page | Shopify handles these itself | Leave out of the map |
The rule behind the table is relevance. Google's guidance on redirects warns against pointing many old URLs at an irrelevant page like the home page. A redirect to the closest match keeps the signal. A redirect to the home page mostly throws it away.
Kill chains and loops
A chain is A to B to C. A loop is A to B to A. Both show up when the old platform already had redirects. Say the old store sent /socks-old.html to /socks.html, and you now send /socks.html to /collections/socks. Rewrite the first row so it points straight to /collections/socks.
Google suggests redirecting straight to the final URL. If you can't, keep chains short: "ideally no more than 3 and fewer than 5" hops, per the same guide. I aim for one hop, always.
How does Shopify's redirect CSV import work?
Shopify lets you add redirects one at a time or in bulk by CSV. The URL redirect help page has the steps. In the admin, go to Content > Menus, click View URL Redirects, then Import. Add the file, upload it, review the preview and click Import redirects.
The file has two columns. Shopify's sample template uses the headers Redirect from and Redirect to, matching the fields in the admin form. Download the template from the help page and copy its header row exactly.
Redirect from,Redirect to
/product/merino-crew-sock/,/products/merino-crew-sock
/product-category/hiking-socks/,/collections/hiking-socks
/blog/how-to-wash-merino/,/blogs/news/how-to-wash-merino
/socks/hiking-socks.html,/collections/hiking-socks
/policies/shipping/,/policies/shipping-policy
Use relative paths for anything on your own domain. Use a full URL starting with https:// only for redirects that leave the store.
What are the limits?
These come from Shopify's redirect help page, as of November 2026.
| Limit | What it means for the migration |
|---|---|
| 100,000 redirects on standard plans | Plenty for most stores. Big Magento catalogs with years of history can get close. |
| 20,000,000 redirects on Shopify Plus | Room for very large catalogs. |
| Redirects only fire from URLs that 404 | If a live page sits at the old path, the redirect does nothing. |
| URLs with query strings may not work as expected | Old filter URLs like ?color=blue need a different plan. |
| Can't redirect from paths starting with /apps, /application, /cart, /carts, /orders, /services or /shop | A WooCommerce /shop/ page or a BigCommerce /cart.php can't be redirected. |
| Can't redirect from /products, /collections or /collections/all | The bare folders are fixed. |
| Collection tag paths can't be redirected | /collections/socks/wool stays a Shopify tag page. |
| A URL ending in .html can't redirect to the same URL without .html | Only matters if the path is otherwise identical. |
| Market subfolders need their own redirect for a different destination | International stores need extra rows. |
The /shop prefix catches a lot of WooCommerce stores. WooCommerce's default store page often sits at /shop/. On Shopify that path is reserved, so the redirect won't fire. Your options are to accept that one URL, or update the links pointing at it before launch. Run your old URL list against the reserved prefixes first. The redirect map builder flags them.
Should you import redirects before or after launch?
Before. Shopify's migration guide says to set up redirects before you transfer your domain, so bookmarks and outside links never hit an error page. Redirects take effect as soon as you save them, and the old paths already 404 on Shopify, so there's no harm in loading them early.
For a large store, split the CSV into batches by type: products, collections, posts, pages. A failed row is easier to find in a 2,000-row file than in a 60,000-row one.
What can't move to Shopify?
Some things don't come across, and some only come across with an app. Know which before you set a launch date.
| Data | Moves? | How | Source |
|---|---|---|---|
| Products | Yes | Product CSV, Store Migration app or a migration app | WooCommerce migration guide |
| Customers | Yes, without passwords | Customer CSV, app or API | Customer import help |
| Customer passwords | No | Customers re-verify or set a new one | Same page |
| Marketing consent | Yes, per channel | Accepts Email Marketing and Accepts SMS Marketing columns | Same page |
| Email engagement history | No | Record it with tags instead | Same page |
| Total spent, total orders | No | Comes from imported orders, not the customer CSV | Same page |
| Historical orders | Yes, fulfilled orders only | Migration app or API, not CSV | Migration considerations |
| Coupons | Not by CSV | Recreate as discounts or use an app | WooCommerce migration guide |
| Blog posts and pages from WooCommerce | Not in WooCommerce's export | Rebuild by hand or with an app | Same page |
| Products with more than 3 options | Not as variants in the free app | Restructure options first | Same page |
What happens to customer accounts and passwords?
Shopify's customer import page is plain about it: you can't migrate customer passwords from another store using a CSV. What happens next depends on which account version you run.
Shopify now calls legacy customer accounts deprecated. The current version is passwordless. Customers sign in with their email and a one-time code. For a migration, that's good news: imported customers just sign in with the email they already use. No reset flow.
If you stay on legacy accounts, you have to invite each imported customer to create a new password. That's an email campaign, and it needs its own plan.
This matters for SEO only indirectly. A spike of failed logins after launch sends people to search for "[brand] login", and support tickets pile up. Put a short notice in the header and send a pre-launch email so returning buyers know what to expect.
Order history and the import order
Shopify says to import products first, then customers, then orders, so orders link to the right records. It also warns that staff with new-order notifications get an email for every imported order, per the migration considerations page. Turn those notifications off before the order import, or someone's inbox gets 40,000 emails.
The same sequence logic applies if you're also moving your CRM. The CRM migration checklist covers that side.
How do you move metadata and structured data?
Redirects move the URL signal. Metadata keeps the page relevant once Google lands on it. Lose a hand-tuned title and the page ranks for less, even with a perfect redirect.
Titles, descriptions and alt text
Shopify's product CSV has columns for each of these.
| Shopify CSV column | Limit | If left blank |
|---|---|---|
| URL handle | Letters, numbers and dashes, no spaces | Built from the product title |
| SEO title | Up to 70 characters | Uses the product title |
| SEO description | Up to 320 characters | Uses the product description |
| Image alt text | Up to 512 characters, 125 or fewer is best | Empty |
| Status | active, draft or archived | Imports as active |
Here's a trimmed field map for a WooCommerce export. The source names depend on the SEO plugin you used.
Old field (WooCommerce + SEO plugin) -> Shopify product CSV column
post_name (slug) -> URL handle
_yoast_wpseo_title -> SEO title
_yoast_wpseo_metadesc -> SEO description
image alt (_wp_attachment_image_alt) -> Image alt text
post_status = publish -> Status = active
post_status = draft -> Status = draft
Three things go wrong here often:
- Template variables survive the export. Old titles like "%%title%% %%sep%% %%sitename%%" land in Shopify as literal text. Search the CSV for % and { before you import.
- Titles get cut. Anything over 70 characters needs a rewrite. Do it in the sheet, not in the admin one product at a time.
- Categories lose their copy. Category descriptions and SEO fields live on collections, not products. Collections need their own pass. The category page SEO guide covers what that copy should do.
Shopify's migration considerations also says each page should have a unique meta description. A migration is a good moment to fix the duplicates you inherited.
Structured data
Most Shopify themes print product schema with the structured_data Liquid filter. It works on product and article objects. A product with no variants becomes a schema.org Product. A product with one or more variants becomes a ProductGroup. Articles become Article.
That covers the basics. What usually goes missing in a move:
| Schema | Where it came from on the old site | What to do on Shopify |
|---|---|---|
| Product or ProductGroup | SEO plugin or theme | Check the theme prints it once, and only once |
| AggregateRating and Review | Review plugin | Import reviews into the new review app, confirm it adds rating markup |
| BreadcrumbList | SEO plugin | Add it in the theme if it's missing |
| Organization | SEO plugin | Usually in the theme header, confirm the logo and sameAs links |
| FAQPage | Plugin or hand-coded | Rebuild on the page template or with metafields |
Reviews are the one people forget. Star ratings in results come from review markup, and that markup lives in whatever review app you use. Export reviews from the old platform with product identifiers attached, so they land on the right products. The product reviews strategy covers why those reviews matter beyond stars.
For the wider picture on what schema earns in search and AI answers, see schema markup for AI search.
How do you crawl and QA the store before launch?
The crawl is where you catch problems while they're still cheap. Do it on the Shopify store before DNS points at it. Shopify stores sit behind a password page until launch, so give your crawler the storefront password or run the checks on a preview domain.
Screaming Frog in list mode works well here: paste the old URL list and let it follow the redirects. Any crawler that follows redirects and reports status codes will do.
The pre-launch QA checklist
- Redirect test. Crawl every old URL against the new store. Each should return one 301 and then a 200. Flag any 404, any chain longer than one hop and any loop.
- Destination test. Spot-check 50 rows by hand. Is the destination the closest match, or a lazy fallback?
- Trailing slash test. Request a few old URLs with and without the trailing slash. Confirm both land in the right place.
- Status test. Crawl the new store itself. Every product, collection, page and post should return 200.
- Canonical test. Each page should carry a self-referencing canonical tag on its clean URL, which Google's site move guide also asks for.
- Internal link test. Find any internal link still pointing at an old path. Those should point straight to the new URL, not through a redirect. Good internal linking matters more right after a move.
- Metadata test. Export titles and descriptions from the crawl. Look for blanks, duplicates, template variables and anything over 70 or 320 characters.
- Schema test. Check 10 product URLs and 3 collection URLs for one Product block each, plus review and breadcrumb markup.
- Sitemap test. Fetch /sitemap.xml on the new store and run it through our free XML sitemap validator. It checks the file parses, counts the URLs and flags bad entries.
- Asset test. Shopify's migration notes say to remove the http: and https: prefixes from asset URLs in theme files so they stay reachable. Check images and stylesheets load.
Shopify's migration considerations note that sitemaps aren't reachable by search engines while the store is in private mode. So your sitemap test happens through the password, and Google only sees it after launch.
The technical SEO audit has the full audit if you want a deeper pass.
Pre-launch crawl report (trimmed example)
old_url status hops final_url final_status
/product/merino-crew-sock/ 301 1 /products/merino-crew-sock 200
/product-category/hiking-socks/ 301 1 /collections/hiking-socks 200
/socks-old.html 301 2 /collections/socks 200 <- chain, fix
/shop/ 404 0 - - <- reserved path
/blog/how-to-wash-merino/ 301 1 /blogs/news/how-to-wash-merino 200
What do you do in Search Console on launch day?
Launch day is mostly checking. The heavy work is done. Here's the order I'd run it in, once DNS points at Shopify.
- Confirm the domain resolves to Shopify. Shopify's migration guide says to disconnect the domain from the old platform first, or you may hit SSL certificate errors.
- Re-run the redirect crawl on the live domain. Same old URL list, now against production. It takes minutes and catches anything DNS or SSL broke.
- Verify the property in Google Search Console. If you already had a domain property, it keeps working. If you only had a URL-prefix property, confirm it still verifies, because the old verification file or tag may be gone.
- Submit the new sitemap. Add /sitemap.xml in the Sitemaps report. The Shopify sitemap guide explains what's inside it.
- Keep the old sitemap listed for a while. Google's site move guide suggests submitting both old and new sitemaps so you can watch indexing shift. Warnings about redirecting URLs in the old one are expected.
- Inspect your top 20 URLs. Use URL Inspection on the new URLs of your best pages and request indexing for them.
- Skip Change of Address unless the domain changed. Google's Change of Address help says the tool is for moving from one domain or subdomain to another. It's not for path changes on the same site. Most Shopify moves keep the domain, so they don't use it.
If you did change domains, submit Change of Address after redirects are live. Google says its effects last 180 days, so keep the redirects in place well past that. Its general advice is to keep site-move redirects for at least a year.
What should you monitor in the first 30 days?
Google says a medium-sized site can take "a few weeks or more" for new URLs to show, and larger sites take longer. So expect some noise. Your job is to tell normal noise from a real leak.


| When | Check | What good looks like | Red flag |
|---|---|---|---|
| Days 1 to 3 | Redirect crawl on live domain | Every old URL is one 301 to a 200 | Any new 404 |
| Days 1 to 7 | Page indexing report | Old URLs move to "Page with redirect" | New URLs stuck in "Discovered, not indexed" |
| Days 1 to 14 | Sitemaps report | New sitemap read, indexed count climbing | Sitemap can't be fetched |
| Daily, weeks 1 to 4 | Clicks on top 50 pages (old plus new URL combined) | Within normal weekly swing | Steady fall on a page type |
| Weekly | 404 report in analytics or server logs | Shrinking list | Same high-traffic 404s week after week |
| Weekly | Branded vs non-branded clicks | Branded steady | Branded falling, which points to a broader problem |
| Day 30 | Revenue from organic landing pages | Back near the pre-launch baseline | Gap that isn't closing |
Track clicks by page type, not just in total. A drop that only hits blog posts points to a bad prefix rule. A drop that only hits categories points to missing collection copy or a flattened hierarchy. Totals hide both.
If organic is a pipeline or revenue line you report on, set the baseline before launch. The SEO pipeline measurement guide covers how to tie organic sessions to revenue.
How does a Shopify migration break?
These are the failure modes worth planning for. Most are invisible until traffic drops.
| Failure | How you notice | Fix |
|---|---|---|
| Old URLs left out of the map | 404s on old URLs with backlinks | Add rows, then re-import |
| Everything sent to the home page | Rankings vanish for category terms | Remap to the closest match |
| Redirect chains from old redirects | Crawl shows 2+ hops | Point the first URL at the final one |
| Reserved path in the map | Redirect saved but never fires | Update links to that path, accept the loss on that URL |
| Query string URLs ignored | Old filter URLs 404 | Redirect the clean parent path, update links |
| Draft product used as a redirect switch | Redirect vanishes when product goes live | Archive the old item instead |
| SEO titles lost or truncated | Click-through rate drops on top pages | Fix in the CSV and re-import with overwrite |
| Duplicate Product schema | Rich result warnings | Remove the second source |
| Theme links to collection product paths | Crawl finds duplicate product URLs | Edit the theme to link to /products/ |
| Internal links still point at old paths | Crawl shows internal 301s | Update menus, footer links and blog body links |
| Old sitemap removed on day one | Hard to see what Google has recrawled | Keep both sitemaps listed for a few weeks |
One more pattern deserves its own line. Stores often change too much at once: new platform, new domain, new design, new navigation and a catalog cleanup in the same weekend. Google's site move guide suggests changing one thing at a time. If you can, launch on Shopify first and redesign after the traffic settles. When something drops, you'll know why.
The Shopify migration SEO plan, week by week
Here's how I'd sequence it for a typical store. A bigger catalog stretches each block, but the order stays the same.
| Week | Work | Done when |
|---|---|---|
| 1 | Pull every old URL from sitemaps, crawl, Search Console, analytics and backlinks | One deduped list with traffic data attached |
| 1 | Benchmark: export clicks by page and organic revenue | Baseline saved |
| 2 | Decide handle rules and collection structure | Written naming rule for handles |
| 2 to 3 | Build the product, customer and collection imports with SEO columns | Clean CSVs with titles, descriptions, alt text |
| 3 | Build the redirect map, resolve unmatched rows, flatten chains | Map with zero home page fallbacks you can't defend |
| 3 | Check map against reserved paths and limits | Every row importable |
| 4 | Import products, customers, orders, then redirects | Imports done, notifications off during orders |
| 4 | Schema and theme pass | One Product block per page, breadcrumbs, review markup |
| 5 | Pre-launch crawl and QA checklist | All 10 checks pass |
| 5 | Launch, re-crawl live, Search Console steps | New sitemap submitted, top URLs inspected |
| 6 to 9 | Daily and weekly monitoring | Clicks back near baseline by page type |
A store moving from WooCommerce or BigCommerce with a few hundred products can run this in about five weeks. A large Magento catalog with years of redirect history needs more time in weeks 1 and 3.
What to do this week
Start with the inventory of URLs, because everything else depends on it.
- Export every indexable URL from the old site's sitemap and a full crawl, and merge them into one sheet.
- Add Search Console clicks and backlinks to each row, so you know which URLs matter most.
- Check the list against Shopify's reserved prefixes and the 100,000 redirect cap.
- Paste the old and new URL lists into the redirect map builder and work through the unmatched rows.
- Save a pre-launch baseline of organic clicks by page type.
If you'd rather have someone build the map, the import files and the QA crawl with you, that's part of our GTM engineering work.
FAQ
Will I lose SEO rankings when I move to Shopify?
Expect some movement for a few weeks, even on a clean move. Google says rankings can fluctuate while it recrawls, and a medium-sized site can take a few weeks or more for new URLs to show. Lasting losses usually come from missing redirects, dropped content or lost metadata, not from Shopify itself. A full redirect map and a pre-launch crawl prevent most of it.
How many redirects can a Shopify store have?
Shopify's help center lists a maximum of 100,000 URL redirects on standard plans and 20,000,000 on Shopify Plus, as of November 2026. A redirect only fires when the old URL returns a 404 on Shopify. Some paths, like anything starting with /cart or /shop, can't be redirected at all, so plan around them.
Can customer passwords be migrated to Shopify?
No. Shopify's help center says customer passwords can't be migrated from another store. With the current customer accounts, imported customers sign in with their email and a one-time code, so they never need a password. On legacy accounts, you send each customer an invite to set a new password. Tell customers before launch either way.
Should I use Google's Change of Address tool for a Shopify migration?
Only if the domain changes. Google's help says the tool is for moving from one domain or subdomain to another, not for path changes on the same site. Most replatforms keep the same domain and only change paths. In that case, rely on 301 redirects and a fresh sitemap submission, and skip the tool.
How long should I keep the old redirects?
Keep them for as long as you can, and at least a year. That's Google's own guidance for site moves, because it takes time to pass signals from old URLs to new ones. Redirects cost nothing on Shopify beyond a row in the redirect list, so there's no reason to clean them up early.
Can I keep my old URL structure on Shopify?
Mostly no. Shopify puts products under /products/, collections under /collections/, pages under /pages/ and posts under /blogs/ plus the blog's handle. You choose the handle at the end of each URL but not the folder in front of it. Keep the old slugs as handles where you can, so the redirect map is a simple prefix swap.