301 redirects in a Shopify migration: how to set them up right

Maria Ducos · updated November 20265 min read

301-Weiterleitungen beim Shopify-Umzug: So setzt du sie richtig
In short

When moving to Shopify, almost all URLs change. A 301 redirect tells Google: this page lives here now, take the ranking with you. Every old address with traffic or backlinks needs one, pointing to the matching new page, not to the home page across the board.

What a 301 is and why it matters

A 301 is a permanent redirect. Anyone who calls up the old address automatically lands on the new one, human or search engine. Google transfers the ranking and the value of the backlinks to the new page.

Without a redirect the opposite happens: the old address shows an error page, Google drops it from the index after a while, and all links other sites have set to you lead nowhere. Years of building work are gone.

For comparison: a 302 is a temporary redirect. It's wrong for a migration, because Google then keeps the old address in the index.

Which URLs need a redirect

Not every address is equally important, but you mustn't forget any that brings visitors. The list is put together from three sources:

  • Search Console. All pages with clicks or impressions in the last twelve months.
  • Sitemap of the old shop. All products, categories, pages and blog articles.
  • Backlinks. Pages other websites link to. You'll find them in Search Console under Links.

This becomes a table: old URL on the left, new URL on the right. These pairs are typical:

Old New in Shopify
Product page /products/handle
Category /collections/handle
Content page /pages/handle
Blog article /blogs/blogname/handle
Deleted product most similar product or matching collection

Products that no longer exist are redirected to their closest relative. Only if there's nothing suitable at all, to the parent collection.

Creating redirects in Shopify

Shopify offers three ways, all in the admin under URL redirects:

  • Individually. For a handful of addresses: enter the old URL, choose the target, save.
  • Via CSV. The standard for a migration. A file with two columns, "Redirect from" and "Redirect to", one row per redirect. Upload, check the preview, import.
  • Automatically. If you later change a product's handle, Shopify offers to redirect the old address right away. Always leave that box ticked.

Good to know: Shopify only redirects if no page exists at the old address anymore. And the "Redirect from" column contains only the path, without the domain, so /red-dress-size-38 instead of the full address.

The five most common mistakes

  1. Everything to the home page. Convenient, but Google treats it like an error page. The product's ranking is gone.
  2. Chains. A redirects to B, B to C. Every detour costs speed and some value. Always straight to the target.
  3. Only products. Categories, blog articles and images with traffic get forgotten.
  4. Too late. The redirects have to be in place on the day of the switch, not a week later.
  5. No checks. Typos in the CSV only show up when the rankings are already falling.

Checking after go-live

  • On day one: open the 20 most important old URLs by hand. Each must land directly on the right new page.
  • In the first week: check the complete old URL list with a crawler. Every address must return a 301, no 404.
  • In Search Console: submit the new sitemap, look at the not-found pages report regularly and close gaps immediately.
  • After four to six weeks: compare clicks and positions with the time before the move.

After that the redirects simply stay in place. They cost nothing and protect backlinks for years to come.

Frequently asked questions

How long do redirects need to stay in place? Ideally forever. Google needs a few months to rewrite everything, and backlinks to old addresses often remain for years.

Do I need an app for redirects? No. Individually and via CSV it works directly in the Shopify admin. An app only pays off for special cases like pattern rules across many addresses.

How many redirects are normal? As many as the old shop had pages with traffic or links. For a mid-sized store that's quickly a few thousand.

Will I notice right away if something went wrong? Partly. Search Console shows errors after a few days. That's why 4 weeks of launch support after go-live are included with us, during which we check redirects, orders and Search Console.

Do you take care of the redirects for us? Yes. Redirects are a fixed part of every migration we do, including checks after go-live. More on our page Shopify migration.

Intro call with store check · free

20 minutes. Then you know.

Before the call we look at your store. In the call we show you what we noticed and tell you whether we’re a fit and what it costs. Honest and without obligation.

Maria Ducos
MariaDesign, brand
and development
Pascal Hippmann
PascalConversion, SEO
and AI

What's it about?

Budget

Rather write? Go to the contact page