My question is very simple, I think, but very common. For days, I was searching the solution but find nothing at all.
I’m trying to install WordPress directly in HTTPS on this URL: https://viktora.org
As you can see the CSS styles is gone and not working properly. I’m using Apache with NGINX proxy server on my Debian 9 OS.
I tried all the solution like setting the .htaccess file, adding: define(‘WP_HOME’,’https://viktora.org‘);
define(‘WP_SITEURL’,’https://viktora.org‘);
in wp_config.php file but it didn’t help me.
Please, help me with the right solution. Thank you very much in advance.
2
Answers
You need to change the site url in admin dashboard too in advance of the above mentioned one. Upon opening the url “https://viktora.org“, it seems that you need add DBname, username and password
You need to tell WordPress that it’s behind a proxy otherwise it may not actually rewrite the locations correctly. Adding a check to your
wp-config.php
file like this may fix this for you.