WordPress puts food on my table.

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!

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.

Ask a WordPress Dev

Do you have an interesting WordPress-related question? Submit your questions, and I'll periodically pick the best one and answer it here on my blog! It can be anything from usage tips to hardcore WP development questions.