Created
June 13, 2017 13:34
-
-
Save acki/e228208c05d496d4635b6b9b455df760 to your computer and use it in GitHub Desktop.
wp-config.php SSL Addon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** SSL Stuff **/ | |
define( 'FORCE_SSL_ADMIN', false ); | |
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') | |
$_SERVER['HTTPS']='on'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment