Community Server to WordPress: Part 2

WordPress Okay, time for another update on the blog migration. I stopped keeping track of hours, but I would guess I’ve spent about 9 hours or so on it thus far. Part of that time is for the theme though, and I tend to take quite a while working on those.

Here’s what I’ve accomplished since part 1:

  • Discovered that extracting the tags from existing posts was harder than I first thought! That’s because I’ve used three or four different styles for including tags over the years, so I had to update the code to take that into account.
  • Same problem affected the “Read” link at the bottom of a post.
  • Ran into a bunch of crap data problems in Community Server, mainly around trackbacks and and spam comments. For some reason they were appearing to me as posts. I solved the problem by deleting them in the source where appropriate, and accounting for them in the code otherwise.
  • Another crap data issue – one post had four entries!
  • Implemented and tested the redirection code necessary so that existing links will continue to work. I think this part is really interesting because I’ve basically got PHP and ASP.NET running in the same application.
  • Spent some time working on the theme, which you can see at the test blog. It looks more or less the same as this theme, but with some nice improvements.
  • Also spent some time looking into plugins and activated a few.

After some trial and error, I was finally able to import all the content from Community Server to WordPress successfully. Yay!

I didn’t start tagging posts until early 2005, so there’s around 400 or so that aren’t tagged, but even still I think the tag cloud on the test blog is really interesting. Looks like I blog about Microsoft quite a bit! Maybe even more interesting is the fact that I’ve used 1843 different tags.

So I guess I’m about ready to make the switch. Just a few more “clean up” things I need to do (like delete more spam comments). I think I’m going to replace my website with another WordPress installation too, but that shouldn’t take long. The current site is really old, based on ugly code, and it’s mostly out-of-date because updating the pages is so difficult. I think WP will work nicely (plus I can use the same theme).

I’d say the migration is going much more smoothly than I anticipated!

2 thoughts on “Community Server to WordPress: Part 2

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s