Forum Discussion
ebowers_25830
Nimbostratus
Nov 22, 2013Irule for Redirecting 15 paths to new url
Hello
I have been asked to redirect an url that has 15 differant paths to a new url with a modified path
Here is and expample
www.xyz.com/2013/11/07/enterprise-risk-management-getting-the-ton...
PeteWhite
Employee
Nov 26, 2013Something like this:
when HTTP_REQUEST {
set uri_end [getfield [HTTP::uri] "/" 5]
set uri_start "http://www.xyz.com/abc123/this-is-the-new-URL/"
HTTP::redirect "$uri_start$uri_end"
}
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