Created
April 23, 2014 13:23
-
-
Save ivandoric/11215015 to your computer and use it in GitHub Desktop.
wordpress: move site - update URLs
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
<?php | |
/*add this to functions.php file in theme */ | |
update_option('siteurl','http://example.com/blog'); | |
update_option('home','http://example.com/blog'); | |
/* After the site is up and running remove those two lines */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment