How to migrate multisite to another server changing domain name

How to migrate multisite to another server changing domain name

  • Patrick
    • Support Monkey

    Hi there @alby111

    Welcome to the forums, glad to have you aboard!

    There is a specific section in the codex article on Moving WordPress that covers that:

    If your domain does not change, you can simply move the database and files over to the new server..Done and done.

    If the name has changed though, you need to replace all occurrences of the old domain with the new one, including in any serialized data strings. Not to fret though, there's a link to a very handy online tool that can help you in the above article.

    If you get stuck at any step in the process, just drop back in here and post again. We'll try to help walk you through it.


  • alby111
    • New Recruit

    This is very usefull to migrate multisite with anonther domain name
    Migrar Multisite: sacado de


    To move your site:

    2. Transfer all web files and the the database to the new server
    3. wp-config.php –> Open your config file and update the database connection and the fields:

    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );

    4. htaccess – Open your .htaccess file and confirm or update the line: RewriteBase /
    5. Login to your PHPMyAdmin and open the database
    6. Open table ‘wp_options’ and adjust the fields ‘site_url’ and ‘home’ (_transient_dirsize_cache ?)

    7. Open table ‘wp_blogs’ and adjust the domain and path for all entries
    8. Open table ‘wp_site’ and adjust the domain and path
    9. Open table ‘wp_sitemeta’ and adjust the field ‘site_url’

    10. WordPress Multisite stores the standard WordPress tables for each blog with the incrementing prefix e.g. wp_1_ ,

    wp_2_, wp_3_ … so you need to open up the ‘wp_*_options’ table for each and adjust the fields ‘site_url’ and ‘home’

    12. We then need to run a SQL command to update the GUID for each of the blogs incrementing the table as before:—

    Para cada wp_*_posts —

    UPDATE wp_posts SET guid = REPLACE (guid,

    UPDATE jwp_posts SET post_content = REPLACE (post_content,

    14. Run your site

    You should now be ready to roll. If you get a connection message, then it is likely some paths are still not correct… if you get a white screen, then you’re best bet is to check your active templates are all in place.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.