Managing Shopify 301 redirects – For mass imports & migrations

Managing Shopify 301 redirects during a Shopify migration can be a challenge.

301 redirects play a very important role in the health of your website and it is crucial that they are managed well, especially if you are considering a change of platforms.

Shopify uses unique URL structures that you need to be aware of if you are considering moving onto the platform.

In this post, we will discuss how to effectively manage Shopify 301 redirects, specifically during platform migrations and when mass imports of URL’s are required.

What is a 301 Redirect?

So… what exactly is a 301 redirect?

A 301 redirect directs website visitors to a live URL when the one they originally requested has been removed.

It is a way of sending someone who visits your site to an alternate URL that is relevant to the one they tried to originally reach.

Shopify 301 Redirection

301 redirects are a good way to ensure visitors land on an appropriate page.

They offer the best user experience because they send people to pages that either have content similar or relevant information, and it preserves backlink value for when sites change their URLs.

1. Why are 301 Redirects important?

301 redirects provide a way to permanently move on from an old, outdated web page.

When your website signals to Google that you are redirecting an old page, it means you retain any SEO credit of the original URL along with it. This ensures that you do not lose any page value of the old page, as long as they are managed in the right way.

Ultimately, 301 redirects help website users, as well as search engines, recognise and discover relevant pages faster. This results in a better user experience which in turn helps with page rankings.

1.1. What would be a good use of a 301 Redirect?

A redirect can be used for merging thin/low traffic website content, if you are changing the domain name and do not want to lose value from your old site, removing outdated pages and in the case of this article, being used for platform migrations when needed.

1.2. Are 301 Redirects bad for SEO?

301 responses tell the browser, and the users, that original pages have been “moved permanently” to the destination URL. In terms of SEO, Google’s ranking algorithm treats 301 redirects the same as any other URL and as long as they are managed properly, will not impact ranking negatively.

2. How do you add a 301 redirect in Shopify?

For adding redirects in Shopify, it is straightforward and easy to do for single URL redirects. It is important to do this with care and ensure that you have carried out your due diligence before implementing any redirects.

Make sure the redirect is one that makes sense and is relevant and be sure to check for any internal links pointing at the old URL.

From your Shopify admin, go to Online Store > Navigation

Click View URL Redirects

Access Redirects in Shopify

Click Create URL redirect

Create Single Redirect in Shopify

In Redirect from, enter the old URL that you want to redirect visitors from – make sure to only redirect pages that have been removed or are broken. Any pages that are still live with the old URL will cause the redirect to not work

In Redirect to, enter the new URL that you want to redirect visitors to. You can use either the URL parameters without the domain mention or use the entire domain level URL

Old redirect to new shopify redirect

Click Save redirect

3. How do you mass import 301 Redirects in Shopify?

For adding redirects in Shopify, it is straightforward and easy to do for single URL redirects. It is important to do this with care and ensure that you have carried out your due diligence before implementing any redirects. Make sure the redirect is one that makes sense and is relevant and be sure to check for any internal links pointing at the old URL.

From your Shopify admin, go to Online Store > Navigation

Click View URL Redirects

URL redirects mass import button

Once here, you then click Import and it will allow you to mass upload a list of URL’s via a CSV file.

Shopify provides a template that you can use to add your URL’s.

Mass Import Shopify URL's

Once approved, the URL’s will be added to your Shopify store.

There are tools that allow you to export all of your sites URL’s which we use to mass import to Shopify.

3.1. Why do we need to do a mass import when migrating platforms?

Shopify uses fixed URL structures for its “collections” and “products”. This is different to other page builders like Magento and WooCommerce.

A standard URL gennerated from a site built on WordPress for instance, would generate a URL like:

https://www.example.co.uk/mens-trainers

In Shopify, that same URL  would be generated through either a collection or product like:

https://www.example.co.uk/collections/mens-trainers

Shopify uses a flat hierarchal system and if moving from a standard WordPress build, will mean that the redirects will have to be managed across the entire site.

When moving platforms and especially to Shopify, it is crucial that you have done the necessary planning in order to execute a smooth migration. 

Using tools like Screaming Frog allows you to crawl the entire site and use a filtering process that replaces the existing URL parameters so that its ready for mass upload.

Platform migrations create opportunities to revisit product, category and product set up so it’s common to use the opportunity to make positive changes. 

4. Looking For Shopify Redirection Advice?

If you are looking for assistance in helping manage a Shopify migration, then please do not hesitate to get in touch with one of our Shopify experts who will be more than happy to assist you.

Get eCommerce insights straight to your inbox each month

See an example of what we send out each month

magic42 serves online retailers throughout the UK, delivering first class Magento Development and also as a Shopify partner – we power retail success. 

Get eCommerce insights to your inbox

Sign up for our monthly newsletter.

Expert Magento Developers

We’ll get your systems talking to each other and Magento & Magento 2 neatly integrated into your wider business. From advice on the best Magento & Magento 2 extensions to migrating your data or bespoke development, we’ll work with you to find the best solution for your unique business.

Powered by Retail Success

magic42 is unique in that it evolved from Mobile Fun, an award winning online retailer with 17 years’ experience, 27 international websites and a global distribution network managed from the heart of Birmingham.