Want to play tag?

Filed Under (Misc.) by Kirby Witmer on 27-09-2007

As I mentioned before, I upgraded my Blog to the latest version of Wordpress, which includes a new feature called tagging*. I also noticed they had a cool utility to convert your categories to tags, which I proceeded to do. Big mistake. Not only did it convert all my categories into tags, it removed the categories, and categorized all my posts with the default category. :twisted: And I couldn’t find an undo feature anywhere**. Hmm… now what? So what I did for now is added the following lines to my .htaccess file.

Options +FollowSymlinks
RewriteEngine on
RewriteRule /category/ http://blog.kirb.com [R]

So now what happens is that when someone accesses one of my now non-existant categories it redirects them to the home page instead of giving them a Not Found page. Ideally it should redirect them to the tag instead, but I couldn’t figure out how to make that work. If anyone knows how to do that, let me know.

*Tagging is not a new idea, in fact it has become hugely popular. This is just the first time Wordpress includes it by default.
**You say its called backups? What’s that?

UPDATE: I’m now getting an error “mod_rewrite: maximum number of internal redirects reached” I’m not sure if its related to this change or not, but I have disabled it in the meantime.