Solved

Why won't Shopify redirect certain URLs?

tmcmillan99
New Member
7 0 0

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

Accepted Solution (1)

Bunty
Shopify Partner
133 39 82

This is an accepted solution.

Replies 3 (3)

tmcmillan99
New Member
7 0 0

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. 

Bunty
Shopify Partner
133 39 82

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

tmcmillan99
New Member
7 0 0

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