Support » Networking WordPress » Copy multisite

  • Resolved martin1972

    (@martin1972)


    I want to copy a multisite from one domain/server to a new domain on another server.

    Is it as simple as to move all files, copy the databases and then change DB-settings and DOMAIN_CURRENT_SITE in the wp-config.php, or are there other considerations? Do I have to run “install” again or anything?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    It’s all that PLUS you have to go through the entire db and change the domain name. it’s a hardcoded reference on ever site.

    when you download the db dump, open it up i na really good text editor (cuz it’ll be big) and do a search & replace. then upload it to the new server.

    Thanks. Is it many tables and fields that contain the domain name? Otherwise it might be easier to do a replace directly in the database.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Is it many tables and fields that contain the domain name?

    Most of them. Yes, really.

    Otherwise it might be easier to do a replace directly in the database.

    that’s what I suggested.

    OK, thanx. That is the first thing i found, that I do not like totally with WP, otherwise i love it. Should have been a variable in my opinion.

    (I meant a query like “UPDATE table SET field1 = REPLACE(field1,’domain1.com’,’domain2.com’);” instead of search and replace in text editor)

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Yeah, it’s a pain. 😀

    Indeed 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Copy multisite’ is closed to new replies.