Created
November 23, 2017 16:12
-
-
Save kamaroly/b70d3d8873aa2358a902955d5604c87e to your computer and use it in GitHub Desktop.
Multiple WordPress installation behind LoadBalancer
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
<?php | |
/** | |
* SET URL BASED ON THE CURRENT URL | |
*/ | |
define('WP_SITEURL', $_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['HTTP_HOST']); | |
define('WP_HOME', $_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['HTTP_HOST']); | |
/** OTHER WORDPRESS CONFIGURATIONS **/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment