Issues with HTTPS to HTTP htaccess

I’m having some issues with some .htaccess redirects only working in certain situations.

The code I have is

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

And here are the results of my tests redirects to does nothing redirects to does nothing

This is a WordPress site and the .htaccess code sits above the WordPress code. I have also tried it below too and I get the same results

Read more here: Issues with HTTPS to HTTP htaccess

Leave a Reply

Your email address will not be published. Required fields are marked *