Programmatically create blogs with dummy content on a WPMU site

I’m trying to set up a WPMU test environment with 5-6K blogs, lots of posts comments, users etc.

Browsing trough the WP’s functions, I picked up wp_insert_post, wp_insert_comment, create_empty_blog(), and wp_insert_user().

Read More

So basically I would run a big for loop in which I create random blogs, get their ID, switch to each of them and insert posts with random content.

Is this really this easy as it looks? 🙂
Or I’m missing something here?

Related posts

Leave a Reply

1 comment

  1. I would suggest you take a look at WP Dummy Content.

    You can easily extend this plugin or build a script to activate and run it.

    As suggested by @kaiser I would really record all the performance data I can to get in insights into this scale of operations.