I
I
ivgenij72016-01-15 15:30:33
Digital certificates
ivgenij7, 2016-01-15 15:30:33

How to setup https:// in wordpress?

I'm trying to set up in wordpress to open the site at https:// I write in the admin panel siteurl: https://domain.ru home: https://domain.ru I press save and the admin panel falls off, and the site opens but the styles are not loaded.
can you tell me where and how to fix it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
W
WP Panda, 2016-01-15
@wppanda5

In wp-config

define('FORCE_SSL_ADMIN', true);
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
       $_SERVER['HTTPS']='on';

A
Andrey Andrievsky, 2016-01-15
@andrievski88

https://sozdaj-sam.com/seo-praktikum/ssl-sertifika...
At the end of a very useful video on the topic.

U
ummahusla, 2016-01-15
@Antonoff

.htaccess

K
Kirill Kublyakov, 2016-01-15
@Kublyakov

This article is bookmarked here https://wpmag.ru/2014/wordpress-https/ , but I myself have not had to use it yet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question