Change Your WordPress Post Slugs

If you’ve been using WordPress with “fancy permalinks” (/year/month/day/post-slug/) you’ve probably experienced the following problem with your post slugs (the part of the URI that is an all-lowercase dashed version of your entry’s title, like this-is-a-post-slug):

  • Write a post
  • Two days later, realize that you misspelled the title
  • Fix the title
  • Realize that the post slug is still misspelled
  • Change the post slug
  • Get e-mails from people saying the old link is broken
  • Curse loudly
  • Change the post slug back
  • Lose sleep, thinking about that misspelled post slug
  • Get e-mails from people saying the new link you temporarily created is broken
  • Curse loudly

Well, maybe not that bad, but you know what I’m talking about. There are ways around this, like by manually creating an Apache redirect for the old URI to the new URI. Ugh… holy annoying.

So now, I present to you a solution. Go install the Redirect Old Slugs plugin that I wrote. Now, you can change your slugs at will, with no broken permalinks! The plugin notices when you change the slug of a published post, and it remembers the old slug for you. Now, when someone goes to the old slug, they silently get redirected to the new slug. Even Google will find your new post. What’s more, it works with WordPress Pages too, and you can change the slug multiple times and the plugin will keep track of each of the “abandoned” slugs!

Install it and forget about it. It just works.

Works for WP 1.5.2 as well as WP 1.6 (as of this publish date).

14 thoughts on “Change Your WordPress Post Slugs

  1. Dear Webmaster! Your resource is in our spam list.Please email to astopae@yahoo.com Your site link and we remove Your resource from spambase.Othervise Your site hase been spammed every 15 minutes.Thank You for cooperations.

  2. Roulette is a nice game. The problem with roulette is that your chances of winning are slightly lower than other games IF you’re not myspace about it. Anyways, its still good entertainment!

Comments are closed.