Forum Discussion
Stanislas_Piro2
Jun 28, 2019Cumulonimbus
Try this code:
when HTTP_REQUEST {
if {[scan $uri {/content/%[^/]/%[^/]/%s} language1 language2 other] == 3 } {
HTTP::respond 301 Location "/$language2-$language1/$other"
}
}