Created
August 9, 2010 14:20
-
-
Save jwdeane/515470 to your computer and use it in GitHub Desktop.
Changed your Wordpress domain?
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
// Edit themes functions.php. Right after initial <?php line place the following: | |
update_option('siteurl','http://example.com/blog'); | |
update_option('home','http://example.com/blog'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saves you manually editing the siteurl in mysql