Forum Discussion
Faruk_AYDIN
Sep 25, 2017Nimbostratus
Hi Guy,
Try this iRule:when HTTP_REQUEST {
if {[string tolower [HTTP::uri]] ne [HTTP::uri] && [string tolower [HTTP::uri]] starts_with "/content/"} {
HTTP::redirect "/site/path[HTTP::uri]"
}
if { [HTTP::uri] ends_with "/" } {
HTTP::uri [string trimright [HTTP::uri] "/"]
}
}