irule does not work

I have a irule as follows and it does not work basically when i test it the redirect does not work so when i type https://www.korean.spindices.com it should redirect to

https://korean.spindices.com

when HTTP_REQUEST {

switch -glob [HTTP::host] {

“https://www.korean.spindices.com” {

HTTP::redirect “https://korean.spindices.com”

}

“https://www.japanese.spindices.com” {

HTTP::redirect “https://japanese.spindices.com”

}

“https://www.chinese.spindices.com” {

HTTP::redirect “https://chinese.spindices.com”

}

“https://www.japanese.spindices.com” {

HTTP::redirect “https://supplemental.spindices.com”

}

}

}

Try:

when HTTP_REQUEST {

switch -glob [HTTP::host] {

“https://www.korean.spindices.com” {

HTTP::redirect “https://korean.spindices.com”; return

}

“https://www.japanese.spindices.com” {

HTTP::redirect “https://japanese.spindices.com”; return

}

“https://www.chinese.spindices.com” {

HTTP::redirect “https://chinese.spindices.com”; return

}

“https://www.japanese.spindices.com” {

HTTP::redirect “https://supplemental.spindices.com”; return

}

}

}