KB: 00001001
Last updated
Was this helpful?
Last updated
Was this helpful?
The client wants to redirect its HTTP sites to the HTTPS site temporarily.
The client can achieve the above requirement by utilizing the redirection Rule feature of the WAF.
As one can observe, the redirection rule in WAF is temporarily redirecting traffic that is coming on HTTP site to HTTPS site with the status code of 302, as per the settings made in the redirection rule.
The client requires to have a redirection rule for their HTTP website to HTTPS website with permanent redirection.
The above scenario can be achieved by setting the redirection rule with the response code of 301 : Permanent Redirect
As you can observe, We are getting the expected response with status code 301, as per the set configuration.
Note: Please ensure to clear your cached data from browser to revert back from permanent redirect, as a local copy gets saved in cache, and will keep redirecting even if the rule is deleted from the WAF GUI.