• I totally new in multisite. So i give it a try.

    I installed new WordPress 3.0 and enabled the network.
    Then I created about 30+ sites with different setting and theme under testing environment with different domain.

    So, I want to move WordPress 3.0 to a new domain name which I just purchased.

    I changed the wp-config setting according to my new server but “Error connecting the database”. I checked and I’m surely it correct. Then I tried remove the network setting in wp-config which is

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'huha.hohoho.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    remove the above line, and the site back into normal.

    I guess I should probably change siteurl in database for each sites that i created. But I don’t know, maybe I missed something.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I guess I should probably change siteurl in database for each sites that i created.

    Yes. Otherwise you get the results you expericed.

    When running a network, the domain name is saved in the database in a *multitude* of places. You have to change them all.

    I’m having a similar issue.

    In addition to the site url in wp_options, where else should it be changed? (also changed in wp-config & wp_blog) I have it working locally, but not on live server.

    I can’t even get the root domain to resolve.

    Thanks
    Matt

    In addition to the site url in wp_options, where else should it be changed?

    For most installations, one example is in the URLs of uploaded images.

    To make absolutely sure that you don’t miss any, it’s best to dump the database, search out all the references to the superseded domain name, and change as required.

    Yep, do a db dump & search & replace. It’s also in the network tables.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘moving multisite to a new server’ is closed to new replies.