Guide · migration
How to keep your SEO rankings through a Shopify migration
Short answer
To keep rankings through a migration to Shopify, export every URL that has traffic or backlinks, map each one to its new Shopify URL, and load them as 301 redirects before launch. Carry over titles, meta descriptions, headings and image alt text, then watch Search Console for 404s and ranking drops for at least 30 days.
Most traffic lost in a migration is lost for one of three reasons: URLs that change without a redirect, pages whose content was cut or rewritten, and metadata that didn’t come across. All three are preventable with a plan made before the build starts.
1. Benchmark before you touch anything
Record where you stand so you can tell a real drop from noise:
- Export the top pages by clicks and impressions from Google Search Console for the last 12 months.
- Export pages with backlinks from Search Console’s Links report or an SEO tool.
- Note your top 50 queries and their positions.
- Crawl the current site to capture every URL, title, meta description, H1 and canonical tag.

2. Map every old URL to a new one
Shopify uses fixed URL prefixes: /products/, /collections/, /pages/ and /blogs/<blog-name>/. Your old URLs will change even if the slugs stay the same, so build a spreadsheet with one row per old URL:
| Old URL | New Shopify URL | Type |
|---|---|---|
| /shop/linen-shirt | /products/linen-shirt | Product |
| /category/shirts | /collections/shirts | Collection |
| /about-us | /pages/about-us | Page |
Rules we follow:
- Every URL with traffic or backlinks gets a redirect to its closest match, never to the homepage.
- Keep handles the same where you can, so only the prefix changes.
- One hop only. Redirect old URLs straight to the final page, not through a chain.
- Discontinued products redirect to their collection or the closest replacement.
3. Carry the content and metadata across
Move titles, meta descriptions, H1s, body copy, product descriptions and image alt text exactly as they rank today. A migration is not the moment to rewrite your best-ranking pages; change one thing at a time so you can see what worked.
Also check structured data. Most good Shopify themes output Product schema, but reviews, breadcrumbs and FAQs often need an app or custom code.
4. Load and test redirects before launch
Import the redirect map through Online Store > Navigation > URL redirects in the Shopify admin, or with a bulk-import app for large stores. Then test a sample of every URL type on the staging store and again right after launch. Any 404 on a page that used to rank is a fire to put out the same day.
5. Launch, then watch for 30 days
On launch day, submit the new sitemap (/sitemap.xml) in Search Console and Bing Webmaster Tools. For the next 30 days:
- Check the Pages report for new 404s and fix each one with a redirect.
- Compare your top pages and queries against the benchmark weekly.
- Keep the old domain’s DNS pointing to Shopify if the domain is changing, so redirects keep working.
A dip of a few positions in the first two weeks is normal while Google recrawls. If a page drops and doesn’t recover, compare it against the old version: missing content, a changed title or a broken redirect is almost always the cause.
Mistakes that cost the most traffic
These are the problems we see most often when we’re brought in after a migration has gone wrong:
- Redirecting everything to the homepage. Google treats a mass redirect to the homepage much like a 404. Each old URL needs its closest equivalent.
- Forgetting image, PDF and blog URLs. Image search traffic and old blog posts with backlinks are easy to miss because they rarely appear in navigation. Pull them from your crawl and Search Console, not from the menu.
- Collapsing variants into one product without redirects. If the old site had a URL per color or size, map each one to the new product URL, ideally with the variant preselected.
- Changing the domain and the platform at once. It works, but it doubles the risk. If you can, keep the domain the same through the move and change it later.
- Launching with a staging robots rule. A
noindextag or a blocking robots rule copied from staging can wipe a store from search within days. Check both on launch day. - Cutting “thin” pages that actually ranked. Old FAQ, size guide and category pages often bring in long-tail searches. Keep or merge them; don’t delete them without a redirect.
How long recovery takes
With complete redirects and the same content, most stores are back to their previous traffic within two to six weeks. Large catalogs take longer to recrawl, and any pages that changed substantially will move as Google re-evaluates them. If you see no recovery after six weeks, audit the redirect map and compare old and new versions of the pages that dropped.
The short checklist
- Benchmark traffic, rankings and backlinks.
- Crawl the old site and map every URL.
- Keep handles, content and metadata the same.
- Load and test 301 redirects before launch.
- Submit sitemaps and monitor 404s and rankings for 30 days.
Our full migration checklist covers data, apps and launch steps alongside SEO.
Questions we get
Will I lose traffic when I move to Shopify?
A short dip in the first weeks is common while Google recrawls the new URLs. With complete redirects and the same content on each page, most stores recover within a few weeks. Big, lasting drops almost always trace back to missing redirects or content that was cut.
Can I keep my old URL structure on Shopify?
Only partly. Shopify uses fixed prefixes: /products/, /collections/, /pages/ and /blogs/. The part after the prefix (the handle) is yours to set, so you can often keep the same slugs, but the prefix changes, which is why redirects are essential.
How many redirects can Shopify handle?
Shopify supports very large redirect lists and lets you import them from a CSV in the admin, so even catalogs with tens of thousands of URLs can be fully redirected.
Related
Keep reading
- How long does a Shopify migration take? A week-by-week timeline How long a migration to Shopify takes, week by week: discovery, data mapping, build, test migrations, launch, and what pushes a project past 12 weeks.
- Shopify Plus vs Advanced: when the upgrade pays for itself Shopify Plus vs Advanced compared on price, fees and features, with the card-rate math and the capabilities that justify upgrading.
- Moving from Shopify Scripts to Functions: what to migrate first and how Shopify Scripts stopped running on June 30, 2026. What to rebuild first as Shopify Functions, how each Script type maps, and how to test it.