L
L
ligisayan2017-10-04 17:54:07
Laravel
ligisayan, 2017-10-04 17:54:07

Why can't I get into the wordpress admin panel when https is enabled?

Hello! I connected a wordpress site to the cloudflare service space and configured an ssl certificate on it to access the site via a secure https:// connection . Replaced all occurrences of http:// with https:// in the database

UPDATE wp_options SET option_value = replace(option_value, 'http://site.ru', 'https://site.ru') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, 'http://site.ru', 'https://site.ru');
UPDATE wp_posts SET post_content = replace(post_content, 'http://site.ru', 'https://site.ru');

In the cloudflare settings , I set the auto-rewrite slider to https
59d4f39ba9c67708364166.png
- But if I write an address with https in the settings of the url parameters console and the main page (home), then
I can’t get to the site due to a page inaccessibility error (The site redirected too many times.).
- If I leave https only in siteurl like this:
59d4f421bcfbd159173909.png
then the site itself is displayed, but I can’t get into the admin panel for the same reason above. - If I leave http
in the siteurl and home settings , then I can get into the admin panel, but pictures are not loaded on the site (because the basis for them remains http) - If I turn off the slider in cloudflare
, then only html markup is loaded on the site .. How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dovan, 2017-10-04
@ligisayan

The image will have to be edited on each page, most likely the full address of the image is registered. I had it. For https, see if there are any redirects from http to https on the hosting, you may need to configure it correctly there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question