Forum Discussion
Jovanny_Basilio
Nimbostratus
Mar 15, 2010Simple URL redirect
I have a need for a simple iRule that will redirect based on url...to put it simple I am trying to redirect
domain.com ---> to www.domain.com
domain.com/abc ---> www.domain.com/...
Mar 16, 2010
Good point Citizen, if you don't, you'll be redirecting to www.www.domain.com, if indeed you're using the same VS in dns...
If your only purpose is to check for "www" and add it if it's missing that will work perfect..
If you want to specify the exact url and redirect, explore findclass and classes
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
