Loading CSS and JS using HTTPS on Wordpress -


i'm trying force https on wordpress site, styles , scripts don't loading.

when display page source code chrome can see styles , scripts use http loading, don't understand why.

i set https in wordpress general/settings website url , wordpress url. it's fresh wordpress install default theme.

i tried add in wp-config.php

if ($_server['http_x_forwarded_proto'] == 'https') $_server['https']='on'; 

it works when want login https://www.mywebsite.com/wp-admin, wordpress display me message:

"sorry not allowed access page"

any idea?

have done replace on database replaces old http urls https? use seperate tool this. place directory in folder have wp-config.php , should connect automaticly database. make backup beforehand;

https://interconnectit.com/products/search-and-replace-for-wordpress-databases/


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -