Forum Discussion
smiley_dba_1116
Nimbostratus
Aug 02, 2012Redirect while preserving the locale
Can this happen. For example, if someone goes to abc.com/ca-en, it gets redirects to def.com/ca-en, basically preserving the uri. Or if someone goes to abc.com/fa-en, it automatically gets redirected...
- Aug 02, 2012
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com"} { HTTP::redirect "http://def.com[HTTP::uri]" }}
dlg_23340
Cirrus
Aug 02, 2012when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com"} { HTTP::redirect "http://def.com[HTTP::uri]" }}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
