Forum Discussion
Ron_130795
Oct 20, 2015Nimbostratus
301 Redirect
How do I write an iRule for the following 301 redirect?
301 Redirect: https://investor.tradeking.com/Modules/NewAccount/newAccount.php ----> https://application.tradeking.com/?ola=tks
Re...
ssievers_87378
Nimbostratus
more readable...
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "Modules/NewAccount/newAccount.php" }{
set params [getfield [HTTP::uri] "?" 2]
set newdestination "https://application.tradeking.com/?ola=tks&$params"
HTTP::respond 301 Location "$newdestination"
}
}
Ron_130795
Oct 20, 2015Nimbostratus
Thank you ssievers. I will give this s try.
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