Migration guide

SEO and redirect checklist for moving to Shopify

Shopify’s addresses (/products/, /collections/, /pages/, /blogs/) differ from every other platform’s, so every old URL needs a 301 redirect to its new page or it shows “Page not found”. List your old URLs from the old sitemap, import the redirects before you switch the domain, keep your page titles and descriptions, and check your top pages after launch.

What you’ll need

  • A list of your old store’s URLs (from its sitemap or a crawl)

  • Shopify’s URL redirect importer, to load the result

    How to get this: Shopify’s URL redirect importer, to load the result

    It’s in Content › Menus › URL redirects › Import. Export a backup first: an import can’t be cancelled once it starts.

    Step-by-step guide (opens in a new tab)

  • Your domain’s DNS login (for launch day)

    How to get this: Your domain’s DNS login

    Settings › Domains › Connect existing domain, then A 23.227.38.65 and CNAME www → shops.myshopify.com.

    Open the step-by-step guide (opens in a new tab)

Convert your productsAll migration steps

Before launch

  1. Save your old sitemap (yoursite.com/sitemap.xml) and a list of your most-visited pages from your analytics or Search Console.
  2. Import products with the converter: it carries SEO titles and descriptions where the export has them and writes product and category redirects.
  3. Move posts and pages with the Blog & Page Migrator, which writes redirects for them.
  4. Paste every other old URL into the Redirect Map Builder and download the redirect CSV.

Launch day

Do these in order: redirects first, then the domain, then open the store, then check. Payments, checkout, taxes and analytics are in the full launch-day runbook.

  1. Import your 301 redirects. Build one redirect CSV for every old URL with the Redirect Map Builder (plus the files the product converter and the Blog & Page Migrator wrote), check it, and import it before you switch the domain. Shopify redirects work on every domain connected to your store, so they’re live the moment the domain points at Shopify.

    Where: Content › Menus › URL redirects › Import

    Settings, details and how to check
    • CSV header: Redirect from,Redirect to (Shopify reads only these two columns)
    • Redirect from is a path (/old-page), Redirect to is the new path (/products/new-handle). Keep .html when the old address had it.
    • Shopify only redirects addresses that would otherwise show “Page not found”. A redirect from a path that still exists in Shopify (a product, collection or page with that handle) never fires.
    • You can’t redirect paths starting with /apps, /cart, /orders, /services or /shop, or the fixed /products and /collections paths themselves.
    • Limit: 100,000 redirects per store (20 million on Shopify Plus).

    Check it worked: URL redirects shows the same number of redirects as rows in your CSV, and the builder’s check reports no duplicates and no targets that don’t exist.

  2. Connect your domain to Shopify. In Shopify, click Connect existing domain and enter your domain without www. For a Cloudflare, GoDaddy or IONOS domain, choose Connect automatically and sign in; anywhere else, change the A, AAAA and www CNAME records at your DNS host to Shopify’s values, then click Connect domain.

    Where: Settings › Domains › Connect existing domain

    Settings, details and how to check
    • A record, host @: 23.227.38.65 (points yourstore.com at Shopify; delete every other A record)
    • AAAA record, host @: 2620:0127:f00f:5:: (or 2620:0127:f00f:0005:0000:0000:0000:0000 if your host wants it written out) (the same for IPv6; delete every other AAAA record)
    • CNAME record, host www: shops.myshopify.com. (with the final dot if your host accepts it) (points www.yourstore.com at Shopify)
    • Connect, don’t transfer, on launch day: your provider stays the registrar and it takes minutes. A transfer can take up to 20 days and is blocked for 60 days after a registration or transfer. You can transfer later.
    • Domain bought through Squarespace, Wix or your old platform? It’s third-party to Shopify: open DNS settings there. If the old platform hosted the DNS for you, disconnect the domain from the old site first if it asks.
    • Leave MX, TXT, SPF, DKIM and other CNAME records (mail, autodiscover, verification records) exactly as they are. They’re not part of the website and changing them stops your email.
    • Cloudflare: set the A, AAAA and www records to DNS only (grey cloud). Shopify doesn’t support Cloudflare’s proxy in front of the store.
    • Shopify may show an A record ending in another number, such as 23.227.38.32, as the best one for your region. That’s valid.

    Check it worked: The domain appears on Settings › Domains, and whatsmydns.net shows 23.227.38.65 for the A record and shops.myshopify.com for www in most locations.

  3. Wait for Connected and the SSL certificate. DNS changes usually show within two hours and can take up to 48 hours. Shopify issues a free SSL certificate once the records point at it; until then the domain shows SSL pending.

    Where: Settings › Domains

    Details and how to check
    • Don’t keep changing records while you wait: each change restarts the clock.
    • Still SSL pending or SSL unavailable after 48 hours: check for a second A or AAAA record, a CAA record that doesn’t allow letsencrypt.org, pki.goog and ssl.com, DNSSEC switched on at your registrar, or Cloudflare’s proxy.
    • You can’t use your own SSL certificate on Shopify; the free one is the only option.

    Check it worked: The domain shows Connected on Settings › Domains, and https://yourstore.com opens with a padlock and no security warning.

  4. Make it the primary domain. Set your own domain as the primary domain. Every other domain on the store, including www (or the bare domain) and your-store.myshopify.com, then redirects to it automatically.

    Where: Settings › Domains › your domain › Type › Change

    Settings, details and how to check
    • Change domain type: Primary domain (the address in the browser bar, in your sitemap and in emails)
    • Older guides mention a “Redirect all traffic to this domain” checkbox. Shopify no longer has it: once a domain is primary, the other domains always redirect to it.
    • Choose www.yourstore.com or yourstore.com, whichever your old site used, so the addresses Google knows don’t gain an extra redirect.
    • A domain used by a market can’t be made primary until that market uses another domain or subfolder.

    Check it worked: your-store.myshopify.com and the www (or non-www) version of your domain each land on the primary domain in one redirect.

  5. Remove the store password. Shopify calls the password page private mode. Switch the store from Private to Public: until you do, customers and search engines see only the password page and Google can’t read your sitemap.

    Where: Online Store › Private › Public › Launch store (or Online Store › Preferences › Store access)

    Settings, details and how to check
    • Private mode (Online Store › Preferences › Store access): Off (opens every page to visitors and search engines)
    • Shopify only lets you launch on a paid plan (choosing one during the trial doesn’t charge you until it ends), with a store address under Settings › General › Business details, and with a payment method that isn’t in test mode.
    • Older guides call this Online Store › Preferences › Password protection; it’s the same switch.

    Check it worked: In a private browser window your domain opens the home page, not the password page, and the Online Store page shows Public.

  6. Test your top 20 to 50 old URLs: one 301 hop each. Take your most-visited old URLs from Search Console (Performance › Pages) or your analytics, and open each one. Each must reach its matching new page with a single 301 redirect.

    Details and how to check
    • How to see the hops: in Chrome open DevTools (F12) › Network, tick Preserve log, then paste the old URL. Or run curl -sIL https://yourstore.com/old-path in a terminal.
    • Test the exact URLs Google shows (usually https://). A redirect to a page that redirects again, a 302, or a landing on the home page for everything are all failures to fix.
    • A URL that still loads a page doesn’t redirect: Shopify only redirects addresses that would otherwise show “Page not found”.

    Check it worked: Pass: the first response is 301 with a Location on your primary domain, and the next response is 200 on the right page. Anything else, fix the redirect.

  7. Check that no page says noindex. Open your home page, a product, a collection and a blog post, view the page source (Ctrl+U) and search for noindex. A theme customization, an SEO app or a setting left over from development can add it by mistake.

    Details and how to check

    Check it worked: Pass: no <meta name="robots" content="noindex"> on any page you want in Google, and Search Console’s URL Inspection says Indexing allowed: Yes for the home page.

  8. Check robots.txt. Open yourstore.com/robots.txt. Shopify’s default file is right for almost every store: it blocks the cart, checkout, account and filtered collection pages and allows the rest.

    Details and how to check
    • If your theme has a templates/robots.txt.liquid file (from an old customization), check every Disallow line in it.
    • Paths you blocked on the old platform don’t carry over; add a rule only if you have a reason.

    Check it worked: Pass: the file ends with Sitemap: https://yourstore.com/sitemap.xml on your primary domain, and there’s no Disallow: / under User-agent: *.

  9. Check the sitemap is reachable. Open yourstore.com/sitemap.xml in a private window. It’s an index of Shopify’s product, collection, page and blog sitemaps.

    Details and how to check

    Check it worked: Pass: it loads as XML on your primary domain (not the password page), each linked sitemap opens, and your newest product appears in sitemap_products_1.xml.

  10. Add the store to Google Search Console and submit the sitemap. Add a Domain property for yourstore.com (it covers www, non-www, http and https) and verify it with the TXT record Google gives you, at your DNS host. Then submit sitemap.xml.

    Where: Google Search Console › Add property › Domain; then Indexing › Sitemaps

    Settings, details and how to check
    • Property type: Domain (yourstore.com, no https:// and no www) (one property for every version of the domain)
    • Add a new sitemap: sitemap.xml (Shopify builds and updates it for you)
    • Already have a property for the old site on the same domain? Keep it: its history carries over, and you only submit the new sitemap.
    • A URL-prefix property verified with the HTML tag in theme.liquid also works, but it covers only one version (for example https://www.).
    • Remove the old platform’s sitemaps from the Sitemaps report if they no longer exist.

    Check it worked: The Sitemaps report shows https://yourstore.com/sitemap.xml with status Success and a discovered page count close to your products, collections, pages and posts.

After launch

  1. Add the store to Bing Webmaster Tools. Sign in to Bing Webmaster Tools and import the site from Google Search Console. Bing verifies it and brings your sitemaps across, and Bing’s index also feeds Copilot and other AI answers.

    Where: bing.com/webmasters › Import from Google Search Console

    Details and how to check

    Check it worked: Your domain shows as verified in Bing Webmaster Tools, and Sitemaps lists https://yourstore.com/sitemap.xml.

  2. Watch Search Console’s Pages report for two weeks. Open Indexing › Pages every day for the first week and twice in the second. Old URLs moving to “Page with redirect” is expected and good; new “Not found (404)” URLs are old addresses you missed.

    Details and how to check
    • Click Not found (404), export the list, add a redirect for every URL that had visits or links, and click Validate fix.
    • Use URL Inspection › Request indexing on your 10 most important new pages (Google allows about 10 a day).
    • Rankings often wobble for a few weeks after a move; a steady rise in 404s or a drop in indexed pages is what needs action.

    Check it worked: Pass after two weeks: the Not found (404) count isn’t growing, your key products and collections show as Indexed, and the Sitemaps report still says Success.

  3. Keep the old platform for at least 30 days. Don’t cancel the old platform on launch day. Keep it reachable (on a temporary address, or in its admin) for at least 30 days, and keep every export file for good: you’ll need an image, an old order or a page you missed.

    Details and how to check
    • Keep paying for the domain itself: cancelling the old platform must not cancel a domain registered through it. Move or connect the domain first.
    • Download anything that lives only there before you close it: media library files, order exports for your accountant, invoices, and reviews if your plan allows.
    • Keep the old store’s checkout off during those 30 days so nobody can buy from it.

    Check it worked: Pass: you can still sign in to the old admin, and your exports (products, customers, orders, content, redirects) are saved somewhere backed up.

More migration guides