Bulk update Shopify product handles
Match on ID, put the new Handle. Generate redirects is on by default. Changing Handle without ID can miss the product.
Use this to change the URL path /products/.... SEO title does not change the handle. Transliterate handles is for non-Latin titles on create.
Columns
| Need | Columns |
|---|---|
| Minimum | ID, Handle (the new handle). |
| Recommended | ID, Handle. Leave Generate redirects on unless you do not want /products/old. |
| Empty cells | Empty Handle is ignored. The existing handle stays. |
Steps
- Export Products so you have ID and the current Handle.
- Keep ID. Edit Handle to the new path segment.
- Import with Generate redirects on (default).
- Dry run, then write.
What a dry-run comment looks like
What fails
- Matching on the old Handle while also changing Handle in the same row. Use ID.
- A handle that already belongs to another product.
- Redirect already exists: IMP003 Redirect skipped: already exists (Warning).
FAQ
- Does Shopify keep the old URL?
- Leaper can write a redirect from the old handle when Generate redirects is on. Default is on.
- Collection handles?
- Different sheet. Collections.
- Transliterate?
- A different Import option. Transliterate handles.
- Empty Handle?
- Do not send an empty Handle. Match on ID and put the new Handle in the cell.
