Get Excelify now
Get Excelify now

Redirects

Excel Sheet Name

Redirects

​To tell the app that you are importing Redirects you need:

  • If using CSV file then the file name needs to contain the word “Redirects”, for example, “my-shopify-redirects.csv”
  • If using XLSX file then the sheet/tab name in the file needs to be “Redirects”. The file name for the XLSX file does not matter.

Summary

Redirects (also known as 301 Redirects) are used to send site visitors from one URL to another – when migrating from your old e-Commerce platform, or when renaming Handles.

Columns Available For Export And Import

Column Description / Example Value
ID The ID is automatically generated number by Shopify to identify the item.
It is filled in by an Export.
When creating new Redirect, leave this value empty.

Number

44920047631
Path It is the “path” part of your old URL.
The path is used as a secondary key identifying the Redirect. If the ID is not found, then the app will look for the existing Redirect by the Path value.
The Path cannot be empty, and cannot be equal to Target.
Use it without the server name. For example, if your old URL is https://yourstore.com/your-old-path/to/somewhere, then your redirect Path should be:

Any characters allowed in a URL

/your-old-path/to/somewhere
Command When importing Redirect row – tell the app, what to do with it:

    • NEW: will try to create a new Redirect with the provided details. If such Redirect will already exist (with the same ID or same Path), then the result will be Failed.
    • UPDATE: will try to find existing Redirect, and update it with data from the row. If such Redirect will not be found, then it will create new.
    • REPLACE: at first, if such Redirect with provided ID or Path exists, then the app will delete it. After that, it will create a new one. If an existing Redirect will not be found, then still the app will create a new one. The difference from UPDATE is that it will not keep any of columns, which were not included in the import file since the Redirect will be deleted and re-created.
    • DELETE: the app will delete the existing Redirect, which is found by ID or by Path. If such Redirect will not be found, then the result will be Failed. This DELETE command is very handy for deleting Redirects in bulk.

If no Command is specified, then the app will assume the UPDATE command.

NEW
UPDATE
REPLACE
DELETE

UPDATE
Target The target URL or target path of the new location.
it can be the full URL like “https://anotherstore.com/products/your-new-product-handle“, or if the redirect should send visitors to the current store, then you can put just the new path part, like “/products/your-new-product-handle“.The Target cannot be empty, and cannot be equal to Path.

Any characters allowed in a URL

/products/your-new-product-handle