Forum Discussion
ekaleido
Cirrus
HTTP::uri ALWAYS starts with / so your code should read:
if {[string tolower [HTTP::uri]] starts_with "/products/new/"
ekaleido
Sep 07, 2016Cirrus
Also, if you just want to replicate whatever comes after new/ you are not going to get away with just doing a redirect. You're going to have to capture everything after new/ to a variable to insert in the redirect.