HTTP to HTTPS Redirect

It’s opt in additional security. What it does is tell the browser that you never want to get any http requests from it.

So if at any point the browser is requested to fetch an http URL from your site it will internally rewrite that URL to https, without having to hit your server at all.

1 Like

It is my understanding that you should only use IfModule once, for testing. Once you have established that the module is enabled, remove the IfModule rule. Otherwise you are continually wasting system resources needlessly checking for the existence of the module when you already know it is there.

2 Likes

That is a good point for optimizing the response.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.