Created
March 8, 2010 21:16
-
-
Save trey/325761 to your computer and use it in GitHub Desktop.
Flexible WordPress Configuration
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
define('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content' ); | |
define('WP_CONTENT_URL', 'http://' . $_SERVER['SERVER_NAME'] . '/wp-content'); | |
define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME'] . ''); | |
define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '/wordpress'); | |
/* More info: http://solutions.treypiepmeier.com/2008/05/28/installing-wordpress-the-right-way/ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment