Forum Discussion
Liang_Chen_5383
Nimbostratus
Sep 29, 2016Is it possible to create an iRule to Redirect xyz.com to www.xyz.com
Sorry this might be posted before, I would like to know how to redirect xyz.com to www.xyz.com from the load balancers. Currently, on some browsers, typing xyz.com do not automatically redirect to ww...
svs
Cirrostratus
Sep 29, 2016Of course. You can do this via LTM Policies or via an iRule.
LTM Policy: Condition: http-host = xyz.com Action: Redirect http://www.xyz.com
iRule: when HTTP_REQUEST { if { [HTTP::host] eq "xyz.com" } { HTTP::redirect 302 http://www.xyz.com } }
Greets, svs
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
