Redirects guide

How to fix 404 errors after moving your store to Shopify

What you’ll need

  • Your old store’s URLs (a sitemap, a crawl or a list)

  • Your new Shopify store’s address

  • 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)

Build my redirect map

Where to get the old URLs

  • Google Search Console > Indexing > Pages > Not found (404) > Export.
  • Your old store’s sitemap (oldstore.com/sitemap.xml or sitemap_index.xml), saved before you switch the domain.
  • An export from your old platform or a crawl of the old site.

Steps

  1. Paste the old URLs or drop the CSV or sitemap.
  2. Type the new store’s address. Store not open yet? Use a Shopify product export instead.
  3. Check the rows marked “Check” and pick the right page where the guess is off.
  4. Choose where unmatched URLs should go: nowhere, the home page, all products, or a search for the old words.
  5. Download the CSV and import it under Content > Menus > View URL redirects > Import.

Why some redirects don’t work

  • The old address still loads a page on the new store. Shopify only redirects addresses that show “Page not found”.
  • The Redirect from has a full domain (https://…). Shopify wants the path only.
  • The Redirect from doesn’t match the old address exactly. /page and /page.html are different: a redirect from one doesn’t catch the other. (Capitals and a trailing slash don’t matter.)

More guides