Slugfest

Album Cover: Kid A

"We got heads on sticks. You got ventriloquists."
Radiohead / Kid A

Posted on January 15, 2008 6:03 PM in Web Development
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Let there be slugs!

If it wasn't obvious, I've been taking a look at how WordPress handles post slugs in an attempt to support the same URI strategy here at my own blog. Since my blog is home-grown and doesn't utilize the many man hours that have gone into creating WordPress' advanced rewriting routines, the problem presented a learning opportunity and a chance to tinker with my CMS, something I haven't done in quite a while.

Luckily for me, I don't have to support all the user-configurable, dynamic URI structures that WordPress does, so I was able to come up with a solution I'm happy with in a couple of hours.

In an effort to maintain the Google Juice I've already collected at blog posts that were structured using the now "old school" /item.php?id=n URI scheme, I've left those posts as is. Because recent posts like Hal0 Ski11z and Matching Digits in a mod_rewrite RewriteRule haven't had the benefit of the time it takes to gather the juice, I hacked away at those posts to test how my CMS would handle the new URI scheme. Now that I seem to have it working correctly site-wide, I've decided to incorporate the automatic generation of slugs to the posting process, so this post should be the first real post to have automatically had a slug generated for it (and corresponding feed entry).

This change should make my URIs more readable and should address an SEO issue I've been aware of for a while.

If you spot anything acting funky, or links not working, please leave a comment or contact me via email.

However, if things seem "sluggish," it's by design! ;)

Comments

uesiusjo on July 18, 2015 at 4:56 PM:
adovojhi on May 15, 2017 at 5:22 AM:

Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.

Name:

Email Address:

Website:

Comments:

Check this box if you hate spam.