diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..a72bb97d --- /dev/null +++ b/.htaccess @@ -0,0 +1,8 @@ +Options +FollowSymLinks +RewriteEngine On + +RewriteCond %{HTTP:X-Forwarded-Proto} =http +RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + +RewriteCond %{HTTP_HOST} !^www\.privacytools\.io$ +RewriteRule ^(.*)$ https://www.privacytools.io/$1 [L,R=301] \ No newline at end of file