Migrating from phpWebSite to Wordpress
About seven years ago I bet on the wrong horse. I chose phpWebSite as the CMS to run a site for a community group I’m a part of.
Why the wrong horse? Well seven years ago Wordpress wasn’t in the game but I do remember evaluating Drupal and whilst it has a vibrant, active community the same cannot be said for phpWebSite.
I wanted to give our site a visual refresh, make it easier for people to contribute and to move to a more secure platform than the out of date version of phpWebSite we were running on. The obvious choice was Wordpress.
I’ve looked before for tools to migrate from phpWebSite to Wordpress but never found anything so I decided to write a tool myself. As I was getting started writing a tool, the friend I was working on the migration with discovered a CSV importer plugin already written for Wordpress so we decided to see how hard it would be to export data from phpWebSite as CSV that this plugin could understand.
As we didn’t have huge amounts of content it turned out to be much easier to export the Announcement posts as CSV using phpMyAdmin and manually recreate everything else (just a handful of comments and some image galleries).
The trick with exporting the Announcement posts was to use the CSV for MS Excel option of phpMyAdmin and then manipulate the data using LibreOffice Calc into the format expected by the CSV Importer plugin.
Since we only had a handful of comments I simply recreated these using the standard Wordpress UI and manually set the dates to match phpWebSite. Photos are stored under images/<module name>/
so I just copied the images/photoalbum
directory and uploaded all the images in each gallery using the usual Wordpress uploader.
Comments
These are imported from this site's old blogging software and are kept for archival reasons.
by erietta
Not a comment on the migration, which is out of my league but a comment on the choice of software – You have gone from a CMS to a blog as a CMS platform. How have you anticipated Wordpress serving you as a CMS? Why did you not migrate to Drupal, or another CMS this time round?
by henare
That’s a good question.
I’ve actually heard Wordpress referred to as a CMS and while I think that’s overstating it a bit, Wordpress is definitely more than just a blogging platform these days.
I think the introduction of Custom Post Types in Wordpress 3.0 is what brought Wordpress closer to a CMS in my mind.
Anyway, back to your question. For the site in question I actually wanted to reduce the functionality available, not increase it. Why? Because it wasn’t being used and so I wanted to make it simpler to contribute to the site.
With the new Wordpress site, I’m trying to do everything as Posts and not introduce additional complexity like an image gallery plugin for example. So instead of having to work out the best place to put content, contributors can use one set of instructions for creating new content and not have to worry where or how to upload it.
by erietta
Simplicity. Enough said. Having worked with clients on large scale CMS I can definitely advocate the value of reducing functionality.
Congrats on a successful migration!