It has been one of those things you knew you had to do but was near the bottom of your very long to-do list. But after a few days of thinking it over and browsing the web and eventually looking for the right plugins, I managed to migrate my permalink structure to a more keyword rich, SEO friendly layout.My old permalink structure was the date based /%year%/%monthnum%/%day%/%postname%/ which I still find to be useful for proper chronological organization of one’s journal or news items but I also find my new permalink structure /%category%/%postname%/ to be more keyword rich and easier for both humans and bots.

The Plugin

I am now using Permalink Redirect by Scott Yang to help me simplify the process of migrating permalinks. The plugin worked like a charm. I tested how the plugin would handle backlinks using the old permalink structure and everything redirected properly to the new permalink structure without any noticeable delay.

Small Hiccup

There was only one problem I encountered while migrating my permalink structure and that was which category name will be used. By default, Wordpress would use the category name with the lowest ID if incase you have multiple categories per post. My theme makes use of different categories as well as some temporary categories which I use as a switch to place posts on the four special feature sections of my theme.

The answer to this minor problem was sCategory Permalink, a plugin by Dmytro Shteflyuk which allows you to tick which category your post will use for your permalink structure. It works by making use of a custom permalink option %scategory% (take note of the extra “s” before the category word).

There is Always a Better Way

What I really wanted was to somehow write a few lines of code on my vhost file on Nginx so redirection would be done on the webserver and not through PHP. For me this is the ideal setup as it puts less load on your server. I also have enough documentation to configure this for Apache but not for Nginx. The next few days were spent looking around for answers, which included several forum postings and reading a lot of Nginx documentation. I gave up after a week so I was left with the plugin option instead but still open to learning how to do it through Nginx but for now I would settle for the plugin.

A person’s quest for knowledge can only be limited by himself and not by anything else. For now this setup works well for me but I know there is better way of doing things.

Other Related Articles

Migrating your WordPress Permalinks Structure by Michael Aulia

Share This Article
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Ma.gnolia
  • MisterWong
  • Reddit
  • Spurl
  • Technorati
  • TwitThis
  • e-mail
  • Furl


Follow responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

14 Responses to “Permalink Migration on Wordpress”

  1. no imageMichael AuliaNo Gravatar Says:
    May 19th, 2008 at 6:48 pm

    Glad you get it working! It may not be the best way, but if it works, why not? :)
    Michael Aulias last blog post..Mozilla Firefox 3 RC1

    Rate this comment:
    3.4 (1 person)

    [Reply]

  2. no imagearchondigitalNo Gravatar Says:
    May 19th, 2008 at 7:18 pm

    …since banging my head didn’t work, then the plugins should make life a lot easier…

    Maybe after a few months I’d be able to crack it and write something about it.

    Rate this comment:
    3.1

    [Reply]

  3. no imagebloggistaNo Gravatar Says:
    May 23rd, 2008 at 7:18 pm

    This is an interesting change that I want to check out myself. Will this really improve SERP?

    bloggistas last blog post..Making Money With the Pacquiao vs Diaz Fight

    Rate this comment:
    3.5 (1 person)

    [Reply]

  4. no imagelisNo Gravatar Says:
    May 24th, 2008 at 5:30 am

    hi dropping by

    liss last blog post..Police Gear

    Rate this comment:
    3.0

    [Reply]

  5. no imagebloggistaNo Gravatar Says:
    May 24th, 2008 at 11:48 pm

    By the way, I have sent your 100EC’s for participating in my “120 Unique Things About Bloggers” ;-)
    http://bloggista.com/2008/05/02/120-unique-things-about-bloggers/

    bloggistas last blog post..Making Money With the Pacquiao vs Diaz Fight

    Rate this comment:
    2.9

    [Reply]

    no imagearchondigitalNo Gravatar reply on May 28th, 2008 11:20 am:

    Thanks I got the credits

    Rate this comment:
    3.1

    [Reply]

  6. no imagebhavneetNo Gravatar Says:
    June 4th, 2008 at 3:51 am

    hi this is very nice site

    Rate this comment:
    2.5

    [Reply]

    no imagearchondigitalNo Gravatar reply on June 7th, 2008 10:19 am:

    Thanks for visiting

    Rate this comment:
    3.1

    [Reply]

  7. no imagewatch-street-fightsNo Gravatar Says:
    June 18th, 2008 at 1:42 pm

    Hi all great information here and good thread to comment on.

    Can I ask though - how did you get this picked up and into google news?

    Very impressive that this blog is syndicated through Google and is it something that is just up to Google or you actively created?

    Obviously this is a popular blog with great data so well done on your seo success..

    Rate this comment:
    2.8 (1 person)

    [Reply]

  8. no imageMichael AuliaNo Gravatar Says:
    June 18th, 2008 at 3:12 pm

    I was told not to put posts into more than a single category. The reason is to avoid duplicate posts, which is a fair reason, I think

    Bot will see that your
    http://…/internet/firefox3-final/
    AND
    http://…./browser/firefox3-final/

    as separate posts and therefore, duplicate content

    Michael Aulias last blog post..Try Patapon for Fun

    Rate this comment:
    3.4 (1 person)

    [Reply]

    no imagearchondigitalNo Gravatar reply on June 18th, 2008 3:30 pm:

    Hmmm… I see what you mean

    The real post is under supposed to show under the “software” category and the not under “internet”. The one under “browser” was probably generated from the tags which I set up before I published my post.

    I already set All-in-one-SEO Pack plugin to put a noindex to my tag archives which I overlooked. Funny I remember already doing that a while back.

    Thanks for the reminder

    Rate this comment:
    3.1

    [Reply]

  9. no imagemartialartsNo Gravatar Says:
    June 27th, 2008 at 6:54 pm

    Hi all great information here and good thread to comment on.

    Can I ask though - how did you get this picked up and into google news?

    Very impressive that this blog is syndicated through Google and is it something that is just up to Google or you actively created?

    Obviously this is a popular blog with great data so well done on your seo success..

    Rate this comment:
    1.6 (1 person)

    [Reply]

    no imageThe Lyrics HubNo Gravatar reply on June 28th, 2008 11:21 am:

    The spam comment would’ve gotten away the first time.

    Doing it twice got you busted

    Rate this comment:
    3.5 (1 person)

    [Reply]

  10. no imageBlog2uNo Gravatar Says:
    July 5th, 2008 at 10:33 pm

    Wow, the big move. Haven’t done it yet myself for our older blogs mainly because of the problem with backlinks not working anymore. Congrats on your successful migration.

    Blog2us last blog post..Pinoy Entrecarders Special

    Rate this comment:
    3.3 (1 person)

    [Reply]

Leave a Reply

 
  • Sali Na! Join the Pinoy Wordpress Bloggers Community!
  •