Redirect https -> http

Redirect https -> http

I have the following redirect from https to http (https is not used on the server):

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

This doesn’t work, it seems to have something to do with a certificate being present on the server but I’m not sure how to locate/remove/disable this certificate (I never added a certificate to this server myself, seems to be there by default?) Hope someone can help me out with this!

Comments are closed.