The solution the “Unprotected Connection” is to add this to functions.php so that PHP / WordPress knows that HTTPS should be ON.
if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
$_SERVER['HTTPS']='on';
}
However, when I try to login to the WordPress Admin for the site with the same username and password as before I get “Sorry, you are not allowed to access this page.”
-
This reply was modified 8 years, 3 months ago by chad480.