Forked from ranchodeluxemedia/domain_agnostic_wordpress.php
Last active
March 23, 2018 21:43
-
-
Save brentini/bf0a65a4abe2f1d607c3e21c27449ab0 to your computer and use it in GitHub Desktop.
Domain agnostic wordpress setup #wordpress
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 | |
define('WP_HOME', "http://{$_SERVER['HTTP_HOST']}/"); | |
define('WP_SITEURL', "http://{$_SERVER['HTTP_HOST']}/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment