Answer the question
In order to leave comments, you need to log in
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.ru
without 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
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
http://test.sait.ru
- a new one https://sait.ru
https://sait.ru
to 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) Answer the question
In order to leave comments, you need to log in
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.ru
for 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
http://old.sait.ru/wp-admin
. But ideally, in the database, you need to change everything from https://sait.ru
to http://old.sait.ru
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question