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
Redirects
When importing a file, to tell the app that you are importing Redirects, you need to ensure that the sheet/tab name is set to “Redirect” or “Redirects”.
For example:
- If using a CSV file then the file name can be “my-shopify-redirects.csv”
- If using an XLSX file then the sheet/tab name would be set to “Redirects”. The file name for the XLSX file does not matter.
Even if the sheet/tab name is not set correctly, you will be able to manually change and set the entity you are importing after uploading file in the app.
See more on the Matrixify app import process and import user interface.
Need a quick start?
Columns Available For Export And Import
Basic Columns
| 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. Allowed ValuesNumber Example44920047631 |
| 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: Allowed ValuesAny characters allowed in a URL Example/your-old-path/to/somewhere |
| 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. Allowed ValuesNEW MERGE UPDATE REPLACE DELETE IGNORE ExampleMERGE |
| 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. Allowed ValuesAny characters allowed in a URL Example/products/your-new-product-handle |