L
L
Legal Adviser2020-07-07 18:15:51
Apache HTTP Server
Legal Adviser, 2020-07-07 18:15:51

How to switch from https to http?

Hi all.
Site on WP. shown on https (hence there is ssl)
Now I want to transfer it to http://old.sait.ruwithout SSL.
In .htaccess:

AddDefaultCharset UTF-8

# RewriteEngine On
# RewriteCond %{ENV:HTTPS} !on
# RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

As far as I understand, this can be commented out, and the second part (# BEGIN WordPress / # END WordPress ) can be left as is.
Question:
How to make the transition from https to http?

Now flooded the old site and the browser issues:

This site cannot provide a secure connection.
The site old.site.ru uses an unsupported protocol.
The protocol is not supported. The client and server use different versions of the SSL protocol or different cipher suites.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH


To exclude unnecessary questions:
1. There is a site http://test.sait.ru- a new one
2. There is a main domain - https://sait.ru
3. You need to temporarily upload it https://sait.ruto http://old.sait.ru(access to the old site will be closed to search engines, there will be no updating of posts, etc., and will be deleted over time)
4. Now I need to go to the site admin panel, but I can’t do this due to the fact that the site is flooded with SSL, if there are options to somehow do it in order to make a free certificate and go to the admin panel - I will be grateful for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Chesnokov, 2020-07-08
@Legal2019

I can assume that you are doing this for the first time and in order not to spoil anything, make sure that you create a copy of the database sait.rufor the site old.sait.ru, and do not work with the same database. Now you need to connect to the new database (using phpMyAdmin for example) and adjust the two values ​​to:

  • wp_options > site_url > http://old.sait.ru
  • wp_options > home > http://old.sait.ru

This will be enough to connect to the admin panel at: http://old.sait.ru/wp-admin. But ideally, in the database, you need to change everything from https://sait.ruto http://old.sait.ru.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question