How to force HTTPS to HTTP
-
I’m trying to force my website redirect from HTTPS to HTTP.
I have this code in my htacces# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressAnd i already added the following pieces (none worked so far…)
RewriteEngine On RewriteCond %{HTTPS} offRewriteCond %{HTTPS} on RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI}RewriteCond %{SERVER_PORT} ^443$ RewriteRule (.*) http://www.example.com/$1 [R=301,L]Any ideas?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘How to force HTTPS to HTTP’ is closed to new replies.