M
M
matveyboyko2018-08-02 23:02:46
Digital certificates
matveyboyko, 2018-08-02 23:02:46

How to disable redirect from http to https in Wordpress?

Hi all!
Moved the site from hosting to local for development.
There it is with https, but on the local one you need http.
1. In the admin panel in settings->general is http
2. In the table wp-option siteurl and home - http
3. htaccess is commented out
4. Changed https to http throughout the table
5. Used 4 browsers, of which I did not go to the site
All- anyway, redirect to https.
I don't know what to do, I've been struggling for the second day.
Help, who knows.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lamer350, 2018-08-02
@lamer350

Look also in WP config

E
Egor L, 2022-03-24
@lapitsky

Why is this happening?
WordPress stores some of the information in serialized arrays, and they depend on the length of the string. If, when replacing directly or through search and replace in the SQL file, you also replace the phrase you are changing to by more characters, this array will no longer be read.
therefore, the data in the table must be changed using the Search Replace DB script, otherwise it will not work
, google the instructions on how to use the script

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question