ezomfy
All posts
July 4, 202611 min read

The Shopify Migration Redirect Map I Use on Every Project to Save Your SEO

I'm sharing the exact Shopify 301 redirect map I use for migrations, detailing specific patterns for products, collections, and blogs. Learn the 5 common mistakes that cost merchants 30% of their organic traffic and how to avoid them.

A

Ashraful

Shopify Select Partner

A vintage compass and navigation instrument on an old map, showcasing precision tools for exploration. — Photo by Alex Andrews on Pexels

Migrating a Shopify store is more than just moving products. It's a high-stakes surgical procedure for your online presence. Get it wrong, and you're staring down a catastrophic drop in organic search traffic – easily 30% or more, simply because search engines can't find your new content. I've seen this happen too many times.

That's why a meticulously planned 301 redirect map isn't just a recommendation; it's non-negotiable. I'm going to show you the precise Markdown template I keep on hand for every Shopify migration, outlining the patterns I use for products, collections, blogs, and custom pages. More importantly, I'll walk you through the five critical redirect mistakes that consistently decimate organic traffic, so you can avoid them entirely.

Why Your Shopify Migration Needs a Bulletproof 301 Redirect Map

When you move a store, your URLs change. It's that simple. What isn't simple is convincing Google and other search engines that your old, well-ranked pages now live at a new address. Without a proper Shopify 301 redirect map, every link pointing to your old site becomes a dead end. That means lost organic traffic, frustrated users hitting 404s, and a significant hit to your SEO authority built over years.

A 301 redirect tells search engines: "Hey, this page has permanently moved here." It passes most of the link equity (the "SEO juice") from the old URL to the new one. Neglect this, and you're essentially launching a brand new site from scratch, losing all the hard-earned trust and rankings of your old domain. My goal is always to ensure the migration is as seamless as possible for search engines, preserving every ounce of SEO value.

My Shopify Migration Redirect Map Template: The Core Structure

I don't rely on guesswork. For every migration, I start with a structured Markdown template. It forces a systematic approach and ensures nothing gets missed. The basic format is always OLD_URL -> NEW_URL. I prefer Markdown because it's clean, easy to read, and can be shared with clients or team members without fuss. I often work from a Google Sheet that then gets converted into this format for bulk upload.

Here’s a simplified look at the template structure I use, followed by specific examples.

# Shopify 301 Redirect Map - [Client Name/Project Name]

## Products

# General pattern: /old-product-slug -> /products/new-product-slug
/old-product-1 -> /products/new-product-handle-1
/category-old/product-2-name -> /products/product-2-handle
/old-product-with-variant-slug -> /products/product-with-variant-handle

## Collections/Categories

# General pattern: /old-category-slug -> /collections/new-collection-handle
/old-category-name -> /collections/new-collection-handle
/category/subcategory -> /collections/new-subcategory-handle
/old-collection-with-filter -> /collections/new-collection-handle?filter.v.price.gte=10&filter.v.price.lte=50

## Blog Posts

# General pattern: /old-blog-slug -> /blogs/news/new-blog-post-handle (assuming 'news' is your blog handle)
/blog/2020/01/old-post-title -> /blogs/news/new-blog-post-title
/article/another-old-post -> /blogs/news/another-new-blog-post

## Custom Pages

# General pattern: /old-page-name.html -> /pages/new-page-handle
/about-us.php -> /pages/about-us
/contact.html -> /pages/contact
/faq -> /pages/frequently-asked-questions

## Other URLs (e.g., brand pages, specific filters, discontinued products)

/brands/old-brand -> /collections/new-brand-collection
/special-offer -> /collections/current-promotions
/discontinued-product-line -> /collections/similar-products

Product Redirect Patterns

Products are usually the most numerous and critical. When migrating from platforms like Magento, WooCommerce, or custom systems, product URLs often contain category paths or have different naming conventions. Shopify's default product URLs are /products/product-handle. My job is to ensure every old product URL maps directly to its new Shopify equivalent.

Example Scenario: A client is moving from a Magento store where product URLs looked like /men/shirts/blue-polo-shirt.html. On Shopify, this becomes /products/blue-polo-shirt. The redirect is straightforward:

/men/shirts/blue-polo-shirt.html -> /products/blue-polo-shirt

I always account for products that might have changed names or handles during the migration. If a product is discontinued, I redirect it to a relevant collection or a similar product, not just a 404 page. This is a critical point that many miss.

Collection Redirect Patterns

Collections (categories) are equally important. Old platforms often have nested categories, like /apparel/mens/tshirts. Shopify typically flattens these into /collections/tshirts. My template ensures that every parent and child category from the old site points to the most relevant new collection.

Example Scenario: An old WordPress site used /category/electronics/laptops. On Shopify, it's just /collections/laptops. The redirect:

/category/electronics/laptops -> /collections/laptops

Sometimes, an old category might be split into multiple new collections or merged into one. This requires careful consideration and mapping to the most appropriate new destination.

Blog Post Redirect Patterns

Blog posts are content powerhouses for SEO. Many old platforms have very different blog URL structures (e.g., /blog/year/month/day/post-title or /news/post-slug). Shopify's default is typically /blogs/news/post-handle (where 'news' is your blog's handle, which can be changed).

Example Scenario: A client's old blog post was at /blog/2019/my-top-5-tips. On Shopify, it's /blogs/articles/my-top-5-tips (assuming 'articles' is the blog handle). The redirect:

/blog/2019/my-top-5-tips -> /blogs/articles/my-top-5-tips

I ensure every single blog post, especially those with high organic traffic, gets a correct 301 redirect. Failing here means losing valuable content authority.

Custom Page & Misc. Redirects

Don't forget the static pages like "About Us," "Contact," "FAQ," and any specific landing pages. These often have .html, .php, or other extensions from older systems. Shopify uses /pages/page-handle.

Example Scenario: An old site had /contact-us.html and /our-story.php. On Shopify, these become /pages/contact-us and /pages/our-story. The redirects:

/contact-us.html -> /pages/contact-us /our-story.php -> /pages/our-story

Beyond standard pages, I also map old /brand/brand-name URLs to new collection pages, or specific filter URLs from the old site to the relevant filtered collection on Shopify. Everything that can generate a 404 needs a home.

The 5 Redirect Mistakes That Cost 30% of Organic Traffic

Here's what nobody talks about enough: even with a redirect map, you can still screw it up. I've seen clients lose a significant chunk of their organic traffic – sometimes 30% or more – because of these common, yet avoidable, errors.

  1. Ignoring Case Sensitivity and Trailing Slashes: Shopify's URL routing is generally case-insensitive and handles trailing slashes well, but your old platform might not have been. If Google indexed /Product/item-1 and /product/item-1/ as separate URLs on your old site, you need to redirect both. The mistake I see most often is assuming a single redirect covers all variations. Always check your old site's Google Search Console for indexed URLs and common crawl errors. If your old platform was strict, you might need multiple redirects for what appears to be the same page. For example, /Old-Product and /old-product might need separate entries if they existed on the old server.

  2. Chaining Redirects: This is a performance killer and an SEO nightmare. A redirect chain happens when URL A redirects to URL B, which then redirects to URL C. Google (and users) have to follow multiple hops, which slows down page load times and dilutes link equity. Always aim for direct 301 redirects: URL A -> URL C. I audit the redirect map carefully to ensure there are no unintended chains, which often happen when multiple people work on the map or if an internal linking audit isn't done.

  3. Missing Internal Links (on the new site): Redirects fix external links pointing to your old site, but they don't fix your new site's internal linking structure. If your new Shopify store still has internal links pointing to old URLs, it's inefficient. Every internal link should point directly to the final destination URL. This is critical for crawl efficiency and passing link equity within your own site. I always run a post-migration crawl of the new site to identify and fix any lingering internal links to old URLs. This is often where agencies drop the ball after the migration is technically complete.

  4. Not Mapping Redirects for Out-of-Stock/Discontinued Products: Many merchants delete old product pages or let them 404. This is a huge mistake if those products still receive traffic or have backlinks. If a product is permanently discontinued, I redirect it to the most relevant collection page, a similar product, or a specific

A

About the author

Ashraful

Shopify Select Partner, Top Rated Plus on Upwork. 700+ Shopify projects shipped over 7+ years — themes, apps, migrations, speed, Hydrogen. Solo shop, no agency middlemen.

Read the full story

Working on a Shopify project?

That's what I do every day. Pick whichever feels lower-friction.