Support » Networking WordPress » Move WP Multisite to another domain name

  • Hi,

    Inside Hostgator I can change domainname on my hosting account. I have WP Multisite (with 5 sites) installed on domainA and want to move it to domainB. The hosting location is the same (I just change domainname on my hostingaccount).

    Which files must I do changes in to make the move of WP work?
    Do I have to change anything in the database?


Viewing 4 replies - 1 through 4 (of 4 total)
  • look in htaccess & wp-config.php.
    Then start changing the name in all places in the database. (there’s a lot)

    I did this just now

    Edit wp-config.php

    change to the new database settings (or leave them in your case) and add:

    define(‘WP_SITEURL’, ‘’);
    define(‘WP_HOME’, ‘’);

    in the db there is a table wp_blogs, which will have the

    change this to and you should be able to login.

    also check that in wp_options you have got

    a search and replace plugin will get you quite a long way to changing all those db references (e.g. images), but there are always a few that have to be in through mysql or phpmyadmin.

    like Andrea implies, it is a pain …



    How does this impact the ‘child’ sites in a multisite install?

    Their domain changes too, unless they are domain mapped.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Move WP Multisite to another domain name’ is closed to new replies.