Fix Undefined index: HTTP_X_FORWARDED_PROTO with WP-CLI

Are you running your WordPress install behind an SSL proxy or load balancer like HAProxy? You may also be running WP-CLI on the internal site. To get SSL to pass-through correctly a lot of sites have outlined that you need to add the following code to your wp-config.php Although this is almost correct, the HTTP_X_FORWARDED_PROTO …

Fix Undefined index: HTTP_X_FORWARDED_PROTO with WP-CLI Read More »