WordPress 2.0

Migrated to WordPress 2.0, running on my Linode. Imported all of my pyblosxom and advogato posts, taking a little trip down memory lane in the process. Lots of redirect and rewrite action. This should give a few Planets the irrits. 🙂

Update: See below for the redirect rules I used, just in case they are useful for anyone else migrating from pyblosxom to WordPress.

# blog moved to perkypants.org
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/~jdub/blog/?$
RewriteCond %{QUERY_STRING} flav=rss
RewriteRule ^.*$ http://perkypants.org/blog/feed/? [R=permanent]
# front page
RedirectMatch permanent /~jdub[/]+$ http://perkypants.org/blog/
RedirectMatch permanent /~jdub/blog[/]*$ http://perkypants.org/blog/
# pyblosxom timestamp -> wordpress slug permalinks
RedirectMatch permanent /~jdub/blog.*([0-9]{10})$ http://perkypants.org/blog/index.php?name=$1
# date based archives
RedirectMatch permanent /~jdub/blog/([0-9]{4}/[0-9]{2}/[0-9]{2})[/]?$ http://perkypants.org/blog/$1/
RedirectMatch permanent /~jdub/blog/([0-9]{4}/[0-9]{2})/?$ http://perkypants.org/blog/$1/
RedirectMatch permanent /~jdub/blog/([0-9]{4})/?$ http://perkypants.org/blog/$1/
# categories
RedirectMatch permanent /~jdub/blog/(.*/)index.html$ http://perkypants.org/blog/category/$1
RedirectMatch permanent /~jdub/blog/([0-9A-Za-z/]+)/?$ http://perkypants.org/blog/category/$1
This entry was posted in General. Bookmark the permalink.