I have talked a little about why I made the change from e107 to WordPress already, but a couple of people have asked for some more details.
So here is a step by step guide of how I migrated e107 to WordPress.
How to migrate from e107 to WordPress
Here’s a quick summary of how I migrated (or perhaps upgraded?) the SammyNetbook.com site:
- First thing I would recommend you do is set up a local test environment. It’s not too hard to do and will prove useful many times over. Go and install Apache, PHP and MySQL. There are lots of great tutorials on how to do this so I’m not going into detail. It is highly likely that this migration will take a few goes to perfect so doing it straight onto your live site is not wise. And, as always, backup regularly and backup often.
- Install PHPMyAdmin too. You’ll need this to make backups and stuff.
- Next, go download Kev’s e107->Wordpress migration script . The script was written against older versions of e107 and WordPress but I found it still worked fine for me. The good news is that Kev still has some e107 sites to migrate to will be revisiting his code in the future.
- I then installed a brand new, empty copy of WordPress. This will become the new site but for now you want a default install. I then configured a few basic settings, for example permalinks, to ensure everything was right from the start.
- Next, I took a backup of the empty WP database so that it was easy to roll back should the migration have any problems and I needed to start again. Trying to rescue the integrity of a failed migration is just not worth the time. Start again.
- Upload the script to the import directory in your WordPress admin folder.
- Navigate to your WP admin page and look for the Import option under Tools. You should now see an e107 option in there – you’re going to run this!
Now let’s do the Import
- There are a few configuration options that Kev has put in for us, the only thing I changed was the “include extended news” option. If you’ve never used this feature in e107 then you can safely ignore it.
- I had two problems when running the import:
- 1) I has an error with the parsing the linkwords plugin. The solution to this is to just turn it off in e107. It doesn’t really make sense to have it on and if you want that kind of plugin running in WordPress then you’re going to have to set it up again anyway.
- 2) I found the import timed out on me. You can eiher increase your PHP install’s timeout limit or you can use the set time limit function in php.
- This brought all my posts and pages in just fine and I was pretty impressed to be honest. Kev has done a thourough job on his import routine, so a big thanks to him for sharing this code!
- Finally I had some clearing up to do. My “draft” posts in e107, they were set to visable by admin only, now had a published status. So I had to go through these and set them back to draft.
- I also wanted to reorganise my posts so I devised a new set of categories. A quick tip here is to use the WordPress “category to tag” Tool so preserve your old categories as tags if you wish.
And that’s about it. Since then I’ve done plenty of tinkering and have just upgraded to WordPress 3.0 but that’s a whole other story! And I still need to make a decision about the forum.
You can see the new site here.
Have you migrated from e107? How did it go and why did you do it?