---
title: "Redirect old collection URLs when a collection handle changes"
description: "When a collection's URL handle changes, create a URL redirect from the old collection URL to the new one. Collection URLs sit in menus, emails and ads, so a missed redirect costs traffic."
canonical: "https://docs.workflow-trigger-extensions.app/template-redirect-collection-handle"
---

# Redirect old collection URLs when a collection handle changes

When a collection's URL handle changes, create a URL redirect from the old collection URL to the new one. Collection URLs sit in menus, emails and ads, so a missed redirect costs traffic.

One trigger, built-in Shopify actions only, no other app needed. Nothing in it is specific to a store, so it works as soon as it is imported.

![The workflow in Shopify Flow: Redirect old collection URLs when a collection handle changes](https://cdn-dev.eu.codecreationlabs.cloud/crm-tool/uploads/SjJ78gKLnLlocopCui3Cs62dJbGZ7F1n/0479bfc643ed2e9c.png)
*The complete workflow as it looks in Shopify Flow.*

## What it needs

- The app's permission **Product, Variant & Collection Data Access**. See [Permissions and data access](https://docs.workflow-trigger-extensions.app/permissions-and-data-access.md).
- Nothing else: turning the workflow on switches the trigger **Collection Handle Changed** on in the app.

Install the Workflow Trigger Extensions app and grant Product, Variant & Collection Data Access on its Permissions page. Turning this workflow on switches the trigger on in the app.

## Get the workflow

1. Download the `.flow` file attached at the bottom of this page.
2. In your Shopify admin open **Flow**, click **Import** and choose the file.
3. Check the steps, then click **Turn on workflow**.

The file is an export from Shopify Flow itself. Do not edit it by hand; change the workflow in Flow after importing it.

## How it works

1. **Collection Handle Changed** starts the workflow with `oldHandle` and `newHandle`.
2. **Create redirect URL** redirects `/collections/{{oldHandle}}` to `/collections/{{newHandle}}`.

## Make it yours

- Collection URLs are linked from menus, emails and ads: consider a second action that tells marketing which landing page moved.

## Next steps

- [Collection triggers, step by step](https://docs.workflow-trigger-extensions.app/collection-trigger-tutorials.md) - every field this trigger sends, with more examples.
- [Workflow templates](https://docs.workflow-trigger-extensions.app/workflow-templates.md) - all templates.
- [Event history and troubleshooting](https://docs.workflow-trigger-extensions.app/event-history-and-troubleshooting.md) - check that the trigger fired.
