@earth_human WOW thanks my dude!
I can say I was lucky, been looking at this problem all of last week, then took a break until tonight where I see your answer that was posted today!
Your solution did not work for me, but I went to the link in your comment (// see also https://codex.www.ads-software.com/Administration_Over_SSL#Using_a_Reverse_Proxy) and found this, that worked for me (added in wp-config.php):
define('FORCE_SSL_ADMIN', true);
// in some setups HTTP_X_FORWARDED_PROTO might contain
// a comma-separated list e.g. http,https
// so check for https existence
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
$_SERVER['HTTPS']='on';
My problem is that I’m using WordPress that’s included with my Godaddy subscription, and there’s no way of changing the default URL in WordPress settings. I use Cloudflare to get my SSL, so this solution just did the trick! THANKS AGAIN!
-
This reply was modified 4 years ago by torvapor.
-
This reply was modified 4 years ago by torvapor.