The 301 redirect checklist for a Shopify migration, and the mistake that passes every test

A redirect keeps a ranking only when the new page answers the same search as the old one. Map every ranking URL to its true equivalent on Shopify, one to one, not to the home page or a general category. Load the table before launch, test every line by requesting it, switch, then watch Search Console for 30 days and keep the redirects for at least a year. We include all of this in every migration, from $4,500.

Get a free migration estimate See a sample estimate

A redirect that works can still lose the ranking

Most migration advice treats redirects as plumbing: if the old address forwards to the new site, the job is done. That is how a store loses search visibility after a move while every check passes.

Here is how it happens. The old store has thousands of product and category URLs. Mapping each one takes time, so the long tail is pointed at the home page, or at one broad collection. Every redirect returns a correct 301. The launch report is green. Over the following weeks the old pages drop out of Google, and the new ones do not take their place.

We have watched the mechanism on our own site. When we rebuilt riantsoft.com in October 2026 we retired some old service pages and pointed them at general pages, on purpose, because we no longer offered those services. The redirects worked, and over the next six weeks those addresses steadily faded from Google's results. For us that was the intended outcome. For a store's product pages it would be the damage.

Google's documentation says so plainly. Its site-move page tells you not to redirect many old URLs to "one irrelevant single URL destination, such as the home page", and warns that such redirects may be treated as soft 404 errors. A soft 404 means Google drops the old page instead of moving its standing to the new one.

So the rule that the rest of this checklist serves: a redirect carries a ranking only when the destination answers the same search.

Before the build: list what you have to protect

1. Collect every URL that earns anything. Three sources, merged into one list: your XML sitemap, the Pages export from Search Console for the longest period it offers, and the landing pages report from your analytics. Add any URL that other sites link to. The sitemap alone is not enough, because the URLs that rank are often ones a sitemap never listed: filtered category pages, old campaign pages, products inside a category path.

2. Sort by what each URL earns. Impressions and clicks from Search Console, next to each URL. Start at the top: the URLs that earn the most get checked by hand, one at a time. The long tail gets mapped by rule.

3. Learn the shapes Shopify will not change. On your current platform you choose your URL structure. On Shopify you do not: products sit under /products/, collections under /collections/, content pages under /pages/, and blog posts under /blogs/. A Magento address such as /garden/tools/steel-spade.html cannot be kept. It becomes /products/steel-spade, and the redirect is the only thing connecting the two.

Building the table: one old URL, one true equivalent

4. Map one to one. Product to the same product. Category to the collection that holds the same products. Content page to the same content page. Where several old pages were merged into one new one, they can all point to it, and Google's guidance allows that. Where a product is discontinued with no successor, send it to the collection it belonged to. If nothing equivalent exists, let it return a 404. That is more honest than a redirect to the home page, and Google may treat the two the same way.

5. Write the table around Shopify's rules. Shopify's help page on URL redirects sets four limits that shape the table:

Shopify's rule What it means for your table
Redirects work only from broken URLs. If the old address still loads a page on the new store, the redirect is ignored An old path that happens to match a new Shopify page will not redirect. Check for collisions
URLs beginning /apps, /application, /cart, /carts, /orders, /services or /shop cannot be redirected An old store with pages under /shop/ or /services/ needs a different plan for those URLs, decided before launch
URLs with query strings "might not work as expected" Filtered and store-view URLs that rank need testing one by one, not an assumption
A maximum of 100,000 redirects, or 20,000,000 on Plus Cut the table to URLs that earn impressions

The table itself is a two-column file, old path and new path, imported in one step from the redirects screen in the Shopify admin.

6. Flatten the chains. A store that has moved before carries old redirects that point to URLs which now need redirecting again. Google's crawlers follow up to 10 hops, but its site-move page advises redirecting straight to the final destination. Rewrite every old rule to point at the Shopify URL directly, and check that the jump from http to https and to www does not add hops of its own.

Before the switch: test the response, not the file

7. Request every line. A redirect table that looks right is not a tested table. Load it into the staging store and request each old path with a script. Each one must return a 301, in one hop, and land on a page that returns 200 and is the page the table says.

We learned to distrust the file on our own launch. One rule that read correctly in the server configuration sent visitors through an extra http hop before reaching the right page. Nothing in the file showed it. Requesting the URL did.

8. Fix the inside of the new store. Internal links, menus, canonical tags and the sitemap must all use the new URLs, so that Google is not sent through your own redirects to read your own site.

After the switch: watch for 30 days, keep for a year

9. Replace the sitemap and watch Search Console. Submit the new sitemap on launch day and look at which old one is still registered. Six weeks after our own rebuild we found Search Console was still holding a sitemap we had submitted in 2016, listing 24 pages that no longer existed.

Then check the Pages report daily for the first two weeks and weekly after that. "Page with redirect" against old URLs is expected, and Google's documentation says those warnings can be ignored. "Not found (404)" against a URL that used to earn impressions is a line missing from your table. Add it the same day.

Google says a small or medium site can take a few weeks for most pages to move, and to expect temporary fluctuation in rankings while it does. A dip in weeks one to three that recovers is the process working. A page that vanishes and stays gone is a mapping error.

10. Keep the redirects. Google's guidance is at least one year, and to consider keeping them indefinitely. Put a note in the store's admin documentation that the redirect list is not to be tidied.

The whole checklist on one screen

When Step Done when
Before the build 1. Collect every URL that earns anything One merged list from sitemap, Search Console and analytics
2. Sort by impressions and clicks The highest earners are marked for checking by hand
3. Learn Shopify's fixed URL shapes You know which old paths cannot survive
Building 4. Map one to one No line points at the home page
5. Apply Shopify's four limits No collisions, no blocked prefixes, query URLs listed
6. Flatten chains Every old rule points at a final Shopify URL
Before the switch 7. Request every line Each returns 301 in one hop to the right page
8. Fix internal links, canonicals, sitemap The new store never links to an old URL
After the switch 9. New sitemap, Search Console for 30 days Every 404 with past impressions is fixed
10. Keep the redirects a year or more Written into the store's notes

What this costs, and who does it

The steps are not difficult. They are tedious, and the tedious part, step 7, is the one that gets cut when a migration is billed by the hour and the budget is running out.

The redirects are one part of a larger job. What else moves, and how, is set out on the Magento to Shopify migration and WooCommerce to Shopify migration pages.

In our migrations all ten steps are inside the fixed price in every tier: from $4,500 for a small store, $9,000 to $18,000 for a mid-size store, and $18,000 to $35,000 for a large or Shopify Plus store. The free estimate counts your ranking URLs before you commit to anything, and the sample estimate shows where that count appears and how the redirect work is listed.

If you would rather do it yourself, this page is the method. If you want it counted and priced for your store, send us the URL.

Questions people ask

Will I lose my Google rankings when I move to Shopify?

Not if every ranking URL is redirected to a page that answers the same search. Google's site-move documentation says permanent redirects do not cause a loss in PageRank, and that you should expect temporary fluctuation while it processes the move. For a small or medium site it says most pages take a few weeks. The stores that lose rankings for good are the ones where product and category URLs were pointed at the home page, or where nobody listed the old URLs before the old store was switched off.

How long do I have to keep the redirects?

Google's guidance is to keep them as long as possible, generally at least one year, and to consider keeping them indefinitely. On Shopify the redirects live inside your store, so they cost nothing to keep. The risk is not expiry. It is someone deleting them in a tidy-up, or creating a new page at an old address, which stops that redirect from working because Shopify only redirects URLs that would otherwise be broken.

Can I just redirect everything to the home page?

It is the fastest way to lose the rankings while every test passes. Google's site-move page says not to redirect many old URLs to one irrelevant destination such as the home page, and that such redirects may be treated as soft 404 errors, which means the old page's standing is dropped, not moved. A redirect has to land on the equivalent page. Where several old pages really were merged into one new page, pointing them all at it is fine.

How many redirects can a Shopify store have?

Shopify's help page gives a maximum of 100,000 URL redirects for a store, and 20,000,000 on the Plus plan. Most stores need a few thousand. If your table is anywhere near the limit, it usually means filtered and paginated URLs are in it that never ranked, and the first job is to cut the table down to the URLs that earn impressions.

Do image URLs need redirects too?

Only if images bring you traffic. Set the search type to Image in the Search Console performance report before deciding. Shopify serves images from its own content network at new addresses, so old image URLs on your domain will stop working. For most stores the image traffic is small and it recovers as Google recrawls the product pages. For a store where image search matters, such as furniture or fashion, list the image URLs that earn clicks and redirect those to the product page.

What does redirect work cost in a migration?

With us, nothing extra. The redirect table, the testing and 30 days of watching Search Console after launch are included in every tier, from $4,500 for a small store. When you compare quotes, ask each bidder two questions: are redirects included, and is every line tested before launch or only a sample. A quote that lists redirects as an hourly extra is a quote where the table will be as long as the budget allows.

Find out how many URLs you have to protect

A written estimate from your store URL, with the ranking URLs counted and a fixed price. Two working days, no charge.