We need to updated below code in wp-config.php
/** SSL */
define('FORCE_SSL_ADMIN', true);
// in some setups HTTP_X_FORWARDED_PROTO might contain
// so check for https existence
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
$_SERVER['HTTPS']='on';
Update siteurl & home with https in database.
I do accept as true with all of the ideas you’ve offered in your post. They are very convincing and can certainly work. Nonetheless, the posts are very quick for newbies. May just you please extend them a little from next time? Thank you for the post.
LikeLike
Sure. 🙂
LikeLike
This totally fixed a problem I’ve been banging my head against for over two days now, which occurs when you run WP on http on apache behind a secured https nginx proxy.
LikeLike