Forum Discussion
Stephen_Yip_879
Nimbostratus
Oct 31, 2014Can you redirect a URL to another URL with the same root address?
Is this type of redirection possible?
Original URL
jobs.workplace.com/job_posting/new
New URL
jobs.workplace.com/new_job_posting/location/new
R_Eastman_13667
Oct 31, 2014Historic F5 Account
Yes you can!
when HTTP_REQUEST {
if {[HTTP::uri] eq "/job_posting/new"} {
HTTP::redirect "http://jobsworkplace.com/new_job_posting/location/new"
}
}
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