diff --git a/.htaccess b/.htaccess index ec7ccbf..8049bd8 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,8 @@ +#Rewrite everything to https +RewriteEngine On +RewriteCond %{HTTPS} !=on +RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + # Don't show directory listings for URLs which map to a directory. Options -Indexes @@ -132,4 +137,4 @@ DirectoryIndex index.php text/x-component \ text/xml - \ No newline at end of file +