non broken link redirect

gozde
New Member
1 0 0

Hi,

Is there a way to redirect non broken link? For example, we want to redirect /collections/tv-units/products/concept-tv-unit-3 to /products/concept-tv-unit-3 .

We changed code {% assign url = product.url | within: collection %} to {% assign url = product.url %}. It is working only in website correctly, but when we come from browser with this link "/collections/tv-units/products/concept-tv-unit-3" , url redirect isn't working.

We are using Metafields app. Is there a way to fix it via the app or through code?

Thanks for helps

0 Likes