Tumblr to WordPress, redirecting the old URLs

I’ve been blogging a long time. I’m not necessarily a popular blogger, but I do have a few posts that come up in google searches, or were linked from sites more popular than mine.

Whenever I move to a new platform I’m left with the problem of redirecting those links to the right place. Typically, this involves me wasting a day just making some sort of mapping file, and hand hacking up 301 permanent redirects.

Now, I could edit all the wordpress posts and manually change their permalink addresses to match the ones tumblr created, but I like the way wordpress generates URLs.

Fortunately, when I imported from tumblr to wordpress (indirectly, via the tumblr2wordpress converter), I ended up with a similar pattern for the post URLs on both sites.

My old Tumblr URL’s look like this:

www.reddnet.net/post/5600577691/that-place

Where the wordpress URL’s look like this:

www.reddnet.net/that-place

The URL pattern differs only in that the old one contains “post/<some number>”; which is annoying. So I went and found a nice redirect plugin that supported regular expressions. The redirection plugin by John Godley was able to handle this with grace and simplicity.

All I had to do was setup one single redirection using regular expressions:

Source URL = .*/post/d+/(.*)
Destination URL = /$1

That’s it!

My old tumblr URLs are redirecting to the correct place. Additionally, the plugin lets me monitor the redirects, and will log any 404s for old links don’t quite match up to the new locations –which I can then fix by hand.

Reddnet now running wordpress

As you can see, I’ve moved over to wordpress. Tumblr was pretty neat, but they have really been slow to evolve the platform. Also, I tend towards longer posts and posts with code samples where wordpress just does a better job. I’d considered going back to blogengine.net, but I’ve had so many bad experiences and frustrations with the platform in the past that I’m just not interested in going through it again.

I’m hosting with dreamhost, on a trial basis, for now. I’ll post a review of them after I have a few more days to play around with it.

I still have a lot of cleanup to do on the older posts, but I’ll get that finished up over the next few days. Then, maybe, I’ll get back to doing some real blogging.