1

WP MulsiSite is very useful to me. Now I would like to add +100 sites to my existing installation. I've seen many scripts/plugins for adding new users to WPMU.

What script should I use in order to add a batch of new sites (including new users)?

Unfortunately, I do not have access to the command line of this install as it is hosted by a hosting company.

1 Answer 1

1

If you've got command-line access, wp-cli could be the solution you need.

You could write up a quick shell script:

wp site create --slug=site1
wp user create joe [email protected] --role=administrator --url=example.com/site1

... and so forth.

References

1
  • 1
    In addition to @PatJ's answer, be aware that each new site creates 8-9 (about) new tables in your database. So you have to be careful that your hosting place will be OK with that...the 'basic' (shared) hosting places might require you to upgrade to a non-shared server, or they will suspend your account. Feb 10, 2017 at 7:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.