A
A
anton_myaso2019-02-10 19:08:26
htaccess
anton_myaso, 2019-02-10 19:08:26

How to move website from https to http?

Such a problem: there was a site on WIX, there was HTTPS support and a site with a certificate. But now there is a need to transfer to a standalone site and so far there is no support for https.
The redirect did this:

RewriteEngine On
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L]

The redirect works, but browsers complain about the insecure connection. How can you win? Before that, on the same hosting, everything worked without problems and without certificates.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2019-02-10
@inoise

put a self-signed certificate and that's it. What is the problem? letsencrypt
And it's useless to translate from https to http. The browser first opens https, does not see the certificate, goes crazy and yells that it no longer trusts you. Do not do it this way. You have no turning back

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question