Force SSL

Want to deny non-SSL requests on your URL?

Add this to your VHost configs or .htaccess:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]