• Hi,
    I have a script which installs my lemp server and wordpress.
    Multiuser is the only manual thing at the moment, so I’d like to automate it.
    I have scripted the adding of
    define('WP_ALLOW_MULTISITE', true);
    Is there any way I can automate the “tools > add network” part? So that I can continue with configuring wp-config.php with:

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'mydomain' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Thanks in advance ??

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Unattended install’ is closed to new replies.