The right way to Create and Handle 301 Redirects with Shopify

Roughly 5,000 month-to-month searches on Google are for “301 redirect Shopify” in accordance with RankIQ.

Shopify is among the many hottest ecommerce platforms with one thing like 1.75 million energetic outlets utilizing the platform in 2022. Shopify additionally makes it simple to work with 301 redirects.

301 Redirects

A 301 redirect is HTML code to completely divert one URL — one web page on an internet site — to a different. The “301” refers back to the “Moved Completely” HTTP standing code.

These everlasting redirects assist protect backlinks — and thus natural search rankings — and direct guests to the right web page.

Therefore 301 redirects are important for ecommerce shops as a result of they assist be sure that buyers and serps alike can discover probably the most up-to-date web page for any product, weblog publish, or characteristic.

For example, Atlas Resell Administration, which sells used dental gear, lately migrated from a Drupal Commerce retailer to Shopify. The brand new web site required tons of of 301 redirects, all of which had been managed in Shopify.

Home page of Atlas Resell Management

Atlas Resell Administration migrated from Drupal Commerce to Shopify. The method included tons of of 301 redirects.

I’ll tackle on this article the sensible activity of working with 301 redirects in Shopify. This provides to our protection on the subject:

301 Redirects in Shopify

To create a 301 redirect in Shopify, head to the admin space, click on “On-line Retailer” after which “Navigation.”

Screenshot of the Shopify admin area for URL redirects

Within the Shopify administration web site, URL redirects are within the “Navigation” part.

From there, discover the “View URL redirects” hyperlink within the higher proper nook. When the web page opens, the inexperienced “Create URL redirect” button is outstanding.

Screenshot of "Manage your URL redirects" in Shopify admin

The Shopify interface is evident on every step of the 301 redirect creation course of.

On the precise 301 redirect web page, enter the “from” path (the outdated web page or product URL) and the “to” path (the brand new web page or product). Then click on “Save” to create the redirect. I’ll name this the “particular person redirect web page” within the sections under.

Screenshot of URL redirect screen in Shopify admin

Enter the outdated URL (“Redirect from”) and the brand new (“Redirect to”).

Repeat this course of for every redirect. However know that Shopify limits redirects that embrace /apps, /utility, /cart, /carts, /orders, /store, or /providers. There are additionally restrictions on fastened Shopify paths: /merchandise, /collections, /collections/all.

Bulk Add 301 Redirects

Shopify’s redirect type, whereas easy, is impractical for lots of redirects without delay. Atlas Resell, above, had tons of of 301s to create when it migrated from Drupal.

The excellent news is that Shopify permits for bulk uploads. An organization can add its 301 redirects as a comma-separated values file with two self-explanatory columns:

  • Redirect from
  • Redirect to

The import hyperlink is on the identical pages because the aforementioned inexperienced “Create URL redirect” backside.

Screenshot of "Manage your URL redirects" in Shopify admin

The import hyperlink is initially on the identical display because the inexperienced create URL redirect button.

After making a single 301 URL redirect, the web page format modifications, and the “Import” hyperlink seems on the higher proper aspect of the web page, which shows a desk of all redirects.

URL redirects page on Shopify admin with a table of all existing 301 redirects

After making a URL redirect, the import hyperlink is proven within the higher proper of the web page, which reveals a desk of the entire retailer’s redirects.

Shopify shows a easy device in a modal to add the CSV file, and similar to that, a enterprise can add tons of of redirects without delay.

Screenshot of modal to import the CSV file

This modal is how a retailer administrator can add a correctly formatted CSV file of 301 redirects.

Handle 301 Redirects in Shopify

Having arrange 301 redirects for a Shopify retailer, a retailer administrator will often have to handle them, corresponding to:

  • Discover a particular URL redirect,
  • Edit a redirect,
  • Delete the redirect,
  • Export a listing of redirects.

To discover a particular redirect, seek for it on the URL redirect web page. Search outcomes are filterable by the creation date — useful for locating outdated redirects— and could be saved.

Screenshot of search page for redirects in Shopify's admin

Shopify permits the looking out and filtering of URL redirects.

To edit a selected 301 redirect, click on the URL from the desk on the principle URL redirect web page — that is the person redirect web page described above. Shopify will then open the unique redirect type. Make the change and save.

From the identical particular person redirect web page, a easy click on will delete the URL redirect. (Shopify helpfully asks for affirmation earlier than it deletes.)

Screenshot of "Redirect to" page with a red "Delete redirect" button

The red-outlined “Delete redirect” button is on the backside of every particular person URL redirect web page.

Lastly, exporting a listing of URL redirects from Shopify is typically vital. The export hyperlink is on the principle URL redirect web page subsequent to the “Import” hyperlink described above.

Redirects and Shopify

301 redirects are an vital a part of managing any web site. Shopify makes organising redirects simple, and the platform’s bulk add characteristic is a lifesaver relating to bigger tasks.