Forum Discussion
Lee_Sutcliffe
Jan 05, 2018Nacreous
you don't need to specify the protocol for [HTTP::host], try this:
when HTTP_REQUEST {
if {[HTTP::host] equals "mysite.com"} {
HTTP::redirect "https://www.mysite.com"
}
}
you don't need to specify the protocol for [HTTP::host], try this:
when HTTP_REQUEST {
if {[HTTP::host] equals "mysite.com"} {
HTTP::redirect "https://www.mysite.com"
}
}