mu site localwp import

Dear All,
Is there anyone using https://localwp.com/ for MU development?
What is the best way to import a production site into https://localwp.com/
Optionally what development tools, environment, process do you use / recommend.

Thank you!
Bela Grundmann

  • Bela
    • The Incredible Code Injector

    Hi Dimitris,

    The mentioned import works only with SINGLE WP sites. (If I am correct.) I tried to do the import and only the main site was accessible, and I could not figure out how to configure it to be Multisite.

    Also it is an important feature to move a sub site into a new single site.

    Thank you!

  • Pawel Pela
    • Ex Staff

    Hello Bela !

    I haven’t used Local yet, though it seems very interesting. If there’s a way in it to check the database, please see if it imported only the main site tables or also the subsite tables as well. If it has subsite tables, then adding the following defines to the wp-config should enable multisite:

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'yourdomain.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    You may need to adjust the SUBDOMAIN_INSTALL to true or false depending on the type of multisite.

    If that doesn’t work, it may be that Local doesn’t support multisite yet. I would inquire about that at their support for more detailed and accurate answer.

    Kind regards,
    Pawel