Created
May 2, 2019 01:49
-
-
Save kmkmjhyiiiu/97f59b8b67924a75d91d147e485deca2 to your computer and use it in GitHub Desktop.
if ever had a too many redirects issue on fresh installation of wordpress - append the following at end of file.
This file contains hidden or 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
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) | |
$_SERVER['HTTPS']='on'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment