
Simple .htaccess rule to force redirect to HTTPS / SSL
Just put these 3 lines on top of your .htaccess file. RewriteEngine on RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] Redirect non-www to www […]
Continue reading »