I’ve been working on one of the largest WordPress MU projects we’ve taken on so far the last couple of days. We’ve been migrating the blogo.nl blogs (a Dutch blog network started in 2005) over to WordPress MU. There were several things in this project that were nice to figure out, I’ll go over two of them, but not before giving a shout out to the guys at WPMU Dev, their support and WP MU plugins have been a huge help.
Migration of the data
We got a bit lucky in this project: the client had his own technical guy, who had written the previous platform himself and was willing to write a WXR exporter, so we could reasonably easily import all the posts through WXR. The issue was that some of these WXR files were about 20 MB large though, and the “normal” upload method of importing WXR’s turned out to be fairly unstable.
Which is why I wrote a new Importer, based on the default WordPress import class:
This new Importer allows you to browse the local filesystem, and pick a WXR file to import:
This new Importer turned out to be a huge blessing in the process of importing 30 something blogs with a total of 29,019 posts and 46,319 comments. I’m not currently planning on releasing this importer, because of the huge amount of support that would take which I simply don’t have time for.
Site wide posts and comments
Another thing that was needed on this site was a global index of all posts and comments. This was when I really found the WPMU Dev Premium package to be worth its money. The Post indexer and Comment Indexer plugins they have are really easy to use, and give you a global table you can easily query on.
Another one of their plugins that’s really cool is the XML Sitemap plugin they offer, which generates an XML sitemap for every single blog. All I had to do was drop in a couple of files into a few directories and add one line to my .htaccess, how cool is that?
James Farmer of WPMU Dev has already agreed to be a guest on the upcoming podcast, so you’ll hear more of these guys soon!
If you have a blog or blog network you’d like to migrate to WordPress MU, check out our WordPress Consulting services!