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.
See what each field/column from our “Redirects” template means including possible allowed values and examples.
Excel Sheet Name
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.
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.
Can be used for Import to identify and update existing Redirects.
When creating new Redirect, leave this value empty.Number
|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
|Command||When importing Redirect row – tell the app, what to do with it:
If no Command is specified, then the app will assume the UPDATE command.
NEW MERGE UPDATE REPLACE DELETE IGNORE
|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