0
votes

I want to redirect my WordPress site from https to http, because the SSL certificate is expired. I've asked my host (strato) to extend the certificate, but they haven't fix it yet.

What I tried:

  1. changed the site url
  2. Installed plugin to force http
  3. Deactivate all related SSl plugins

Does someone have a solution?

1
please share the code written in your .htaccess related this question. - Raunak Gupta

1 Answers

3
votes

Try This Code,

Redirect from HTTPS to HTTP:

You want to redirect particular website to be opened through HTTP instead of HTTPS. To do so you can add the following directives in your website's .htaccess file:

# Redirect HTTPS to HTTP
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]