Re: New Feature Request! Collection Redirects

Solved

New Feature Request! Collection Redirects

Jason27
Shopify Partner
109 3 38

Hi, there is a big problem currently, and it could be fixed very easily!

 

Let's say you use the API to rename a collection handle from 'collection-1' to 'collection-2'

 

All the product links that are /collections/collection-1/products/product-1 will be broken, so my app has to go and create redirects for every product in a collection, which could be hundreds or thousands. /collections/collection-1/products/product-1 -> /collections/collection-2/products/product-1

 

Instead, why not create a server rule that will automatically redirect the product links as well! It would be so easy to implement. Manually creating redirects when changing collection handles is crazy - it can take over an hour for a single collection, since several api calls are required (for lookup + update/create). 

 

Or, simply ban all /collections/collection-name/products/product-name urls. They almost always create Invalid Canonical Errors in Google Search Console. (I've only seen 1 merchant that modified their product canonicals to support this which I didn't even know that was possible!).

 

Any other suggestions concerning this issue is welcome! Cheers

Accepted Solution (1)

Liam
Community Manager
3108 340 872

This is an accepted solution.

Hi Jason27,

 

Fully understand how your suggested approaches would make URLs and merchant stores more robust. I've passed this feedback to our product teams internally - thanks for this feedback!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 340 872

This is an accepted solution.

Hi Jason27,

 

Fully understand how your suggested approaches would make URLs and merchant stores more robust. I've passed this feedback to our product teams internally - thanks for this feedback!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Jason27
Shopify Partner
109 3 38

Thanks Liam, yall have been super responsive on the forums as of late. Cheers!