Changelog

Wildcard redirects preserve URL query parameters

26 July 2024

Now wildcard redirects will preserve URL query parameters through the redirect. For example, if there's a wildcard redirect setup for:

/p/*/products/*

A visitor to the wildcard redirect would be redirected like so:

https://myshopify.com/p/summer-hat?promo_code=SUMMER2024https://myshopify.com/products/summer-hat?promo_code=SUMMER2024

Preserving the values in the URL that come after the question mark can help for user attribution or for promotions.

Learn more about wildcard redirects in Shopify.

To Changelog

Subscribe to our Newsletter

Sign up to receive our monthly roundup of ecommerce news, interviews and product updates