dlogsdonmd
Mar 14, 2013Nimbostratus
Permanent HTTP => HTTPS iRule
Hello,
We have the following iRule for a site that recently converted to SSL.
if { [string tolower [HTTP::host]] equals "http://cardiosmart.org" } {
HTTP::redirect "https://www.cardiosmart.org"
That rule works perfectly to redirect the traffic. However, it seems search engines are seeing the redirect as temporary (302) and we are being asked to modify the above rule to do a "Permanent" 301 redirect.
Can someone help by telling me how to modify this rule so that various search sites will see it as a permanent redirect? They say this has dramatically reduced the number of "hits" on our site.
Thanks in advance!
Diane