How to Survive a Category and Permalink Overhaul on your Wordpress Blog

wordpress.gifI’ve recently changed the permalink structure for Dosh Dosh and reorganized the categories for my articles. The whole process involved almost every post on Dosh Dosh and led to a large amount of 404 error pages showing up on this site.

This short article details the plugins I’ve used to go through the whole task of renovating my category and permalink structure. I thought it’ll be useful to share my experience of the process.

SEO-Friendly Permalinks for Wordpress

Before the permalink change, I was already running what Wordpress Codex calls pretty permalinks, or permalinks with descriptive text instead of just numbers and ids. Pretty permalinks allow you to have keywords in the URL and some have suggested that this could possibly improve your search engine rankings.

I was previously using /%category%/%postname%/ as my permalinks and redirected them to the shorter /%postname%/ format because I found that my old URLS were too long and unwieldy.

Another reason is the limitation caused by using categories in the permalink structure, which made my post ’stuck’ to the category I’ve initially assigned it.

Four Plugins you Need to Overhaul your Permalinks and Categories

Changing the permalink and category structure for your Wordpress blog is not a difficult process at all, due to the existence of some very resourceful plugins that will help you to do a lot of the dirty work.

Everything can be done through your dashboard or feed reader and you won’t even have to check your logs or access your .htaccess file at all.

Here are the four main plugins that I recommend using:

  • Permalinks Migration Plugin. This nifty plugin allows you to change your permalink structure without breaking the old links to your website and allows you to maintain your search ranks as well. What this does is that it generates a 301 redirect whenever anyone assesses your site through the old permalinks, thereby sending them to the new permalink structure. This is very easy to implement and will only take a few minutes to set up.

  • Batch Categories. This plugin should be used when you need to remove old categories and transfer many posts to the new categories you’ve set up. It allows you to assign or delete multiple posts to or from a category at one shot.
    You won’t be needing this plugin if you’re not originally using the category id in the permalink structure, although you can still use it to create new categories for your posts.

  • Objection Redirection. This very cool plugin allows you to 301 redirect users and search engine bots from 404 error pages that result from old permalinks to existing webpages with the new permalinks. This is extremely easy to use and has saved me a lot of time because I didn’t have to manually enter the redirects within the .htaccess file. A real lifesaver if you are changing permalinks and need to fix those 404s.

  • 404 Notifier. This plugin logs 404 error pages whenever they are accessed by a bot or a user and informs you via RSS or email. You can then do a redirect on the error page to the correct webpage using the Objection Redirection plugin above. What I do is that I’ll subscribe to my 404 notifications via RSS and then log into the Dashboard to redirect the old webpages.

I only took around an hour to do all the redirection/post shifting work and a few minutes everyday to double check for 404 pages I might have overlooked.

There are around 225 posts on Dosh Dosh and since the permalink overhaul a week ago, I have not seen any drop in search engine rankings or traffic at all. In fact, search traffic seems to have increased on the whole but there’s probably because I’ve been doing some volume blogging.

If you’ve ever wanted to change your permalinks but was afraid of losing your search traffic, perhaps you might want to consider doing so again. It’s perfectly safe and there’s nothing to worry about if you take the right precautions.

22 Comments - Share Your Thoughts
  • Permalinks Migration Plugin looks awesome, just what I needed! Thanks, Maki :)

  • These will be very useful, thanks!

  • Nice tip Maki , thanks !
    I had to deal with 301 redirects recently when i also reorganized my categories .

    I used to have them in this format : /%postname.html%/ which i know it’s suggested because of how search engines read html pages

  • I’ve just moved my Blogger blog to its own domain and was wondering about simplifying permalinks. Thanks for this extremely useful post. It will save me a lot of work.

  • Great set of links, thanks for this!

  • Ouch… That’s a lot of work Dosh. Glad everything is working now!

  • Here’s something I had to learn the hard way…when you’re setting up your blog, ONLY use the post name in the permalink. Do NOT use the categories!

    If you want to change the names of your categories later or if you want to re-assign a posting to another category, it can really mess up everything that the search engines have already looked at, not to mention pages that your visitors have bookmarked!

  • Thanks, Maki. I had already converted to the shorter /%postname%/. Your discussion is indepth, as usual. The plugins needed to do an overhaul of my permalinks I was not aware of. This helps alot!

  • I’ve been using a couple of those, but I’ll keep the others in mind if I do a full-out overhaul sometime!

  • Maki, all of your information is so useful. My blog is brand new and yet I’m already thinking about reorganizing it, and don’t want to lose the content I already have. Thanks for the info and your site looks great.

  • I thought the Permalink redirect (when you change your slug) was built into the new Wordpress core. When I change the slugs on my blog, Wordpress redirects me to the right post. Is it that the 301 redirect is missing?

  • I see that your URL’s don’t include a date. Are there particular advantages to eliminating dates?

  • Thanks for the links! I’ve wanted to change my permalinks for a while. The plugins are great, I love the 404 one!

  • Thanks Maki, great post. I changed from using /%category%/%postname%/ as well, but didn’t know about these plugins at the time. Luckily it was after my first post, so only 1 broken link.

    I agree with Walt’s comment that category should not be used in the permalink structure (unless you have a very settled blog).

    There are hundreds of posts about how good /%category%/%postname%/ is, but only a handful about the potential problems. I can’t understand why there aren’t more posts about the downside.

  • Thanks for the plugin list and post. I needed the Objection one the most - it saved me a trip to the .htaccess. Thanks for saving me an hour!

  • Thanks for the article! I’d written a blog post on the Permalinks plugin last week, but never published it because Dean Lee’s site was down. Thanks for (indirectly) letting me know it was back up!

    - Dave Navarro

  • Hey -
    Great article - I’m thinking of doing something much more drastic than just mod’ing categories and permalinks - I’m thinking about relocating my blog from a subdirectory (/myblog) to the root directory, so it would be http://www.fredmckinnon.com instead of http://www.fredmckinnon.com/myblog

    Would these plugins work for this, too? Any thoughts, and is this a good idea? I noticed on technorati, I have two separate rankings - one for fredmckinnon.com (the higher ranking) and a second one for all the folks who manually link to the /myblog (currently, there is a redirect script on the fredmckinnon.com homepage that redirects to /myblog/index.php

    Thanks in advance - hope to get a reply.
    Fred

  • I just used Permalinks Migration Plugin, your suggestions are great! Thank you, Joern

  • I too change it to /%postname%/.

    I didn’t know why I did it at that time but a blogging e-book said I should do that.

    Guess thats a good thing then.

  • This post saved my life, but Objection Redirection has issues when used with WP2.3.

    The Redirection plugin from urbangiraffe.com works quite nicely.

Links to this Article
© 2006 - 2008 Dosh Dosh | Internet Marketing & Social Media.
Close