From 8b3a1911b9eb455c4cfb3460267621628c1da385 Mon Sep 17 00:00:00 2001 From: privacytoolsIO Date: Tue, 8 Aug 2017 07:41:51 +0800 Subject: [PATCH] Revert "Redirect from HTTPS to HTTP" This reverts commit 611a071d5119403196ef8a014d1956339e37c4ae. --- .htaccess | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.htaccess b/.htaccess index 2c10bb8c..7e10b6df 100644 --- a/.htaccess +++ b/.htaccess @@ -1,14 +1,10 @@ Options +FollowSymLinks RewriteEngine On -#RewriteCond %{HTTP:X-Forwarded-Proto} =http -#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] +RewriteCond %{HTTP:X-Forwarded-Proto} =http +RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] -#Redirect from HTTPS to HTTP -RewriteCond %{HTTPS} on -RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] - -#RewriteCond %{HTTP_HOST} !^www\.privacytools\.io$ -#RewriteRule ^(.*)$ https://www.privacytools.io/$1 [L,R=301] +RewriteCond %{HTTP_HOST} !^www\.privacytools\.io$ +RewriteRule ^(.*)$ https://www.privacytools.io/$1 [L,R=301] RewriteRule ^pw.php$ /password.html [R=301,L] \ No newline at end of file