Skip to content

Instantly share code, notes, and snippets.

@barbwiredmedia
Last active December 22, 2015 11:48
Show Gist options
  • Save barbwiredmedia/6467626 to your computer and use it in GitHub Desktop.
Save barbwiredmedia/6467626 to your computer and use it in GitHub Desktop.
When deploying a site from a development server just add this into wp-config to change the siteurl and home url. Will change where Wordpress looks for the build. Define site url. define site
define('WP_SITEURL', 'http://www.yournewurl.com');
define('WP_HOME', 'http://www.yournewurl.com');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment