Forum Discussion
Mayur_Sutare
Jun 15, 2020MVP
Hello,
Please try below iRule, this should work.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/ar"} {
HTTP::redirect https://domain/ar
} else {
HTTP::redirect https://domain.com/en
}
}
Hope it works,
Mayur