Forum Discussion
Joe_Pipitone
Nimbostratus
Sep 30, 2015Redirecting - avoiding redirect loop
We have a site that has many pages indexed by search engines. We want all of those pages redirected back to the root domain, removing the uri and redirecting the client to http://domain.com/home.aspx...
Kevin_Stewart
Employee
Sep 30, 2015Did you enclose it in an event?
when HTTP_REQUEST {
if { not ( [string tolower [HTTP::uri]] starts_with "/home.aspx" ) } {
HTTP::redirect "http://domain.com/home.aspx"
}
}
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