This category contains 1 post

Redirect HTTP traffic to HTTPS

You will find the need to implement a redirection of HTTP request to HTTPS. With this all you need to use is Apache’s mod_rewrite module. Below is the sample configuration for both the entire site or just a sub section. To redirect ALL traffic to HTTPS: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] … Continue reading