Having fun following the related links takes me around old posts, and to places where I I ran out of things to mess up, and where I ask, “So this is what it looks like?” It also makes me wonder if I’ve been over-thinking a lot of things. I tend to do that, you know.
So, when I was thinking about changing the category name for “Ruminations” to something else, I had to wonder how to make sure it didn’t break everything I had before. I’m all about the SEO, you know. And the not-confusing-myself-with-old-links.
Luckily, I stole some good information from other people, and I used a variation of this .htaccess tip to make sure people are sent to the right place. That way, the old links on other sites still work (both of them), and the site remains navigable.
Plus, I get to over-think things more often.
If anybody wondered, here’s the code:
RedirectMatch ^/ruminations(.*) /overthinking$1
UPDATE: Let’s try that again. Since this’ll be permanent, might as well let everybody else (read Google and Technorati) in on what I’m doing.
RewriteEngine on
RewriteBase /
RedirectMatch ^/ruminations(.*) /overthinking$1 [R,301]
RedirectMatch ^/category/ruminations(.*) /overthinking$1 [R,301]
The [R,301] just means you’re going to redirect all the traffic, and 301 is an arcane number to specify it’s a permanent redirection. Not telling the search bots lets them think they should keep trying the old page, hoping for something new. It’s like that hunting dog, waiting for it’s master to come home, but really he never will (not until the authorities clean out the wood-chipper, anyways).
Now all the .htaccess does is take any old link and transform it into the new link.
Ya think I could’ve put this in the minor changes on Sunday?
Also, you would’ve thought I would’ve titled this, “So, what’s so great about ‘Ruminations?’“