Forum Discussion
smeisenzahl
Employee
Dec 13, 2012Irule simple redirect or not?
I have an issue where I think I need a redirect but I'm not sure
I have a site http://www.testsite.com that is in production and I can't modify the vs at this time. When users type www.testsite...
smeisenzahl
Employee
Dec 13, 2012All thank you for all the help in this I have made the redirect work with the following irule, but you helped me get there so thanks.
when HTTP_REQUEST {
if { [HTTP::uri] eq "/" } {
HTTP::redirect "http://www.testsite.com"
}
}
Now since I have it redirecting correctly i'm going to try and make it work as a 301 instead of a 302
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