Forum Discussion
Joe_Wiitala_190
Nimbostratus
Nov 19, 2015301 Redirect only the root URL nothing underneath.
I have a site where I'd like to only redirect the top URL but nothing underneath.
For example somone goes to www.xxx.com and gets a 301 redirect but if the go to www.xxx.com/test it will take th...
nathe
Cirrocumulus
Nov 19, 2015Joe,
You'll need to put in some logic to capture the URI too. Something like
if { [HTTP::uri] eq "/"}{
You could place this above your switch command.
Hope this helps,
N
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