[Resolved] Moving a whole network to a new main domain
I have a network installation at the main domain of foo.com which should be moved to bar.com.
So far I figured out these steps:
1. change “DOMAIN_CURRENT_SITE” to reflect the new domain:
define( ‘DOMAIN_CURRENT_SITE’, ‘bar.com’ );
2. replace “foo.com” by “bar.com” in the “wp_blogs” DB table
3. replace “foo.com” by “bar.com” in the “wp_options” DB table
With this in place the main site and it’s dashboard is accessible.
However, the blogs/sites in the network still have the old domain (eg. x.foo.com). So I replaced all occurances of “x.foo.com” by “x.bar.com”, but that resulted in site-not-found errors when trying to open it in the browser.
What am I missing?
- The topic ‘[Resolved] Moving a whole network to a new main domain’ is closed to new replies.