Forum Discussion
Kai_Wilke
Dec 11, 2015MVP
So you want to have an additional redirect happen from /AzUrE-stARter-kit to /azure-starter-kit and not a rewrite... 😉
when HTTP_REQUEST {
set low_uri [string tolower [HTTP::uri]]
if { [HTTP::uri] equals "/azure-starter-kit" } then {
Do nothing
} elseif { ( $low_uri equals "/azure-starter-kit" ) or
( $low_uri contains "solutions/azure-starter-kit" ) } then {
HTTP::redirect "https://www.bittitan.com/azure-starter-kit"
}
}
Cheers, Kai