Redirect Site Https
Tue, Oct 23, 2012
1-minute read
There are plenty of times I want to require users to be accessing a site only via SSL.
And that can be easy done using .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}