mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-10-01 01:35:57 -04:00
Redirect from HTTPS to HTTP
This commit is contained in:
parent
eb849e44f8
commit
611a071d51
12
.htaccess
12
.htaccess
@ -1,10 +1,14 @@
|
|||||||
Options +FollowSymLinks
|
Options +FollowSymLinks
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
RewriteCond %{HTTP:X-Forwarded-Proto} =http
|
#RewriteCond %{HTTP:X-Forwarded-Proto} =http
|
||||||
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} !^www\.privacytools\.io$
|
#Redirect from HTTPS to HTTP
|
||||||
RewriteRule ^(.*)$ https://www.privacytools.io/$1 [L,R=301]
|
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]
|
||||||
|
|
||||||
RewriteRule ^pw.php$ /password.html [R=301,L]
|
RewriteRule ^pw.php$ /password.html [R=301,L]
|
Loading…
Reference in New Issue
Block a user