Created
June 28, 2013 20:40
-
-
Save spencermorin/5887931 to your computer and use it in GitHub Desktop.
Move Project Nami ( or WordPress ) multisite install to a new domain.
This file contains hidden or 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
update wp_options set option_value='http://example.com' where option_name = 'siteurl' or option_name = 'home' | |
update wp_blogs set domain='example.com' where blog_id = '1' or blog_id = '2' | |
update wp_2_options set option_value='http://example.com/second-blog-path' where option_name='siteurl' or option_name='home' | |
update wp_site set domain='example.com' where id='1' | |
update wp_sitemeta set meta_value='http://example.com' where meta_key='siteurl' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment