Forum Discussion
aniaz_161592
Nimbostratus
Jun 21, 2014In URL hiding URI
Problem:
I have one URL mentioned below:
https://www.moveomoney.com/cholder/
Requirement:
URL Should be https://www.moveomoney.com (Redirecting to above one)
I want same page...
Jun 21, 2014
Hi!
Do you want users surfing to https://www.moveomoney.com to be redirected to https://www.moveomoney.com/cholder/ with a 301/302 redirect, or do you want to display https://www.moveomoney.com/cholder/ without a redirect?
If you want the redirect you can try this one:
when HTTP_REQUEST {
if { [HTTP::uri] eq "/" } {
HTTP::respond 301 Location "https://www.moveomoney.com/cholder/"
}
}
If you want to display the cholder without a redirect you can try this one:
when HTTP_REQUEST {
if { [HTTP::uri] eq "/" } {
HTTP::uri "/cholder/"
}
}
Please note that you need an SSL client profile and an HTTP profile in order for this to work.
Hope I understood you correctly.
/Patrik
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