Skip to content

Instantly share code, notes, and snippets.

@nhaskins
Created May 10, 2010 01:20
Show Gist options
  • Save nhaskins/395558 to your computer and use it in GitHub Desktop.
Save nhaskins/395558 to your computer and use it in GitHub Desktop.
wordpress override site URL
define('WP_HOME','http://');
define('WP_SITEURL','http://');
//add this to the wp-config.php file, omit the trailing slash in the URL
//damn helpful if you move a site, and forget to update the site info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment