All things Shopify and commerce
Are there certain urls that Shopify will not redirect? I am trying to redirect /products to /collections/products but it doesn't work. The redirect saved correctly and is listed but doesn't appear to function. I have cleared my cache numerous times. Am I missing something?
Thanks,
Terry McMillan
Solved! Go to the solution
This is an accepted solution.
See https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect
Only broken URLs should be redirected. Broken URLs might load a "page not found" placeholder message...
/products is a valid URL, so you can't redirect it to anywhere
That link also has a list of reserved paths that you can use
The same thing happens with the similar redirect of /collections to /collections/products. Shopify allows me to save the redirect but it doesn't work.
This is an accepted solution.
See https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect
Only broken URLs should be redirected. Broken URLs might load a "page not found" placeholder message...
/products is a valid URL, so you can't redirect it to anywhere
That link also has a list of reserved paths that you can use
Thanks for the clarification on the redirect. I understand about it being a valid url. We would prefer users not being able to go to those urls but I guess we will have to just accept that they can.
Thanks,
Terry
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024