Forum Discussion
TommyQuality_26
Nimbostratus
Jul 06, 2016irule to append www to each page
Hi,
I have a website that is available as http://www.webpage.com or http://webpage.com. I need to have all pages resolve back to the www version.
so if a visitor was to go to http://webpag...
janholtz
Altostratus
Jul 08, 2016when HTTP_REQUEST {
if { ! [HTTP::host] starts_with "www" } {
HTTP::redirect http://www.[getfield [HTTP::host] ":" 1][HTTP::uri]
}
}
Nice and all purpose...
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