Forum Discussion
Thomas_McLean_1
Jan 14, 2016Nimbostratus
I have resolved this. I had two issues a missing : within a HTTP::uri and also didn't have the HTTP::respond 301 Location with the redirect URL.
Thanks for looking everyone. The solution is below:
if { ([HTTP::uri] starts_with "/URI1") || ([HTTP::uri] starts_with "/URI2") || ([HTTP::uri] starts_with "/URI3") || ([HTTP:uri] starts_with "/URI4") || ([HTTP::uri] starts_with "/URI5") || ([HTTP::uri] starts_with "/URI6")}
HTTP::respond 301 Location "http://google.com/"