WordPress.org

Ready to get started?Download WordPress

Forums

script creation of multiple sites (1 post)

  1. nebid
    Member
    Posted 2 years ago #

    Hi,

    I currently administer a MU instance of wordpress for a school district.

    We use http://www.something.edu/blog1

    I am looking for a way to script creation of multiple sites for students on a linux box (bitnami).

    I have written a bash script to read a text file of usernames eg:
    Test User1
    Test User2

    and create the user accounts.
    login: test.user1
    email: test.user1@something.edu
    user_nicename: test-user1
    etc..

    Now I need to script the creation of sites in the form of:
    http://www.something.edu/test-user1

    Looking through the files it's far from obvious what I need to do - directories created, tables created etc.

    I would like to lock it down so that only the other users in the text file can write comments, so there is quite a bit that needs to be sorted!

    Does anyone know if this info on what happens when a site is created is documented any where or if there is a plugin (free or otherwise) that can automate this from an input file? I haven't had any luck finding it!

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic