Answer the question
In order to leave comments, you need to log in
How to fix Mixed Content error when installing Wordpress?
I'm trying to install wordpress on hosting, but styles and scripts are not loaded. In the source code, it shows that scripts and styles are taken over http, although on the site https. How can this situation be corrected?
Answer the question
In order to leave comments, you need to log in
Solved a problem. I installed it as WP as is and using the Really Simple SSL plugin everything worked.
And the whole point is this - apache + nginx.
Scripts and styles are returned statically. And you don’t have a redirect from http to https from nginx. Hence the mixed content.
Solutions - first set up a static redirect from http to https. Then you will be able to install the site via https.
Another option is to install the site via http. And then use the better search replace plugin to replace links from http to https. But the problem of mixed content is likely to remain
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question