Tags versus Categories – Tags AND Categories
June 23, 2010
Tag, Microsoft Tag - Bad pun, I know. For a long time we were running Serendipity here on Snowulf. S9y had no built in support for tags, and as such we didn’t use them. Now that we’ve migrated to WordPress, we have the ability to use tags, so the question seemed simple enough: Should we use tags? Should we abandon categories?
Serendipity to WordPress – Changing table prefix
June 17, 2010
While this isn’t strictly part of the migration process from S9y to WordPress, I decided to take some advice I read on the net and change the prefix for WordPress tables. Most use this feature for when they have to share a database, but the suggestions I read said to do it to help prevent from SQL injection hacks. Basically the majority of these injections presume a default of ‘wp_’ prefix.
Serendipity to WordPress – Rewriting URLs
June 14, 2010
So the second most important thing to for a S9Y to WordPress migration, after you import the posts, is to make sure as many of the old links work as possible. It doesn’t actually require all that much work to get 90% of the old links working. With Apache & mod_rewrite you can be up and running in just a few minutes. The example below is what I’m actually using and should cover most everything if you were using the /archives/1234-Post-name-here.html format (in S9y). The only reason it requires so many rules and doesn’t cover all the links is because S9y is REALLY BAD about cleaning up the URLs. It basically has no internal mechanism for redirecting people to the proper final name.
Serendipity to WordPress – Post import
June 11, 2010
The first thing you need to do in migrating from Serendipity to WordPress, is to move the post content. Luckily for all of us, at some point in time an importer was written (and shared). It has floated around the internet for a while and been updated a number of times. The version I used was verison 1.3, last updated by a German fellow. While his updates were good, I needed a little more out of it. Two pieces that were lacking were the handling of drafts vs published posts (John and I have a number of drafts, as has been previously mentioned) and the most important, matching up post id numbers. Without that one piece, you can’t move between the two platforms and maintain any links.