Changing Permalinks in Wordpress Doesn't Have to be Scary

posted by jangro on (2 years, 9 months ago)

For a website owner who knows anything about search engine optimization, one of the scariest things in the world is changing the URL structure. Not only do you need to make sure the pages work on the new URLS, bu you have to make sure that all of your old urls properly redirect to the new ones.

One mistake can cost you all existing incoming links and any search engine rankings. Not something to be taken lightly.

But I took the leap today here on Jangro.com and here's how and why I did it.

Way back when I set up this blog, I chose poorly when setting up my permalink structure. My old url format was:

/a/%year%/%monthnum%/%day%/%postname%/

I don't even remember why I put that 'a' in there at the beginning. I guess maybe I shortened the wordpress example of having /archive/ at the beginning. I've dreaded this decision for years now as I wanted to have a cleaner structure.

Today I switched to a simpler, more keyword rich, structure:

/%category%/%postname%/

and I hope with some good category names and post titles, I'll get some improved traffic to the pages on which I look for natural search rankings.

For example, this URL

http://www.jangro.com/a/2006/08/03/how-to-change-your-samsung-dlp-lamp-in-5-minutes/

is now

http://www.jangro.com/electronics/dlp-tv/how-to-change-your-samsung-dlp-lamp-in-5-minutes/

When switching to a category/postname based permalink structure, you need to be careful of a few things. First, make sure all your posts are categorized. And second, make sure if your posts are in multiple categories, the one you want is lower in the sort order of their IDs. The latter can be difficult, so it may be easier to just put posts in a single category. I went through 30 pages of posts to clean this up.

Also, before changing the permalink format, I made sure I had the redirects in place. This is very easy with a plugin called Dean's Permalinks Migration. I'm not sure exactly how it works, but I do know that wordpress posts have their permalink stored in them. So this plugin must detect a page not found, then go looking for the old permalink in the post table.

I also tested it in conjunction with the very popular "Redirections" plugin and it seems to be working great.

I'm optimistic that with some good 301 redirects in place this change will have only positive effects.


Comments & Reactions

  • jangro saved this to Wordpress 2 years, 9 months ago
  • Posted by Stephanie Lichtenstein 2 years, 9 months ago

    Right now mine shows the date and then the post name; it is a much better idea to name it with the category and post name. Thanks for sharing! I heart wordpress.

  • Posted by vbulletin 2 years, 8 months ago

    Head mixer like :S

  • Posted by badot inside 2 years, 8 months ago

    i was try it, but we must make .httaccess file...it's good for make good seo permalink...thanks for share

  • Posted by maimax 2 years, 8 months ago

    OHH Every now and again I find a web site that is a real source of useful information and content. This is one of those. A rare beast indeed. Keep up the good work. Kind regards

  • Posted by Salman 2 years, 8 months ago

    Superb post Keep it up

    Regards salman
    http://www.tips4blogging.co.cc for blogging tips and hacks

  • Posted by Pagerank Checker 2 years, 8 months ago

    You have a great blog here and it is Nice to read some well written posts that have some relevancy...keep up the good work ;)

  • Posted by Sravan 2 years, 7 months ago

    awesome post..Thanks a lot jangro http://www.PlayGhost.com" rel="nofollow">Internet Games

  • Posted by Super Affiliate 2 years, 7 months ago

    Very useful post for people. Changing permalinks to more seo friendly ones is very lucrative. I can tell you as an affiliate marketer I've made very good money just off seo traffic, and a big part of that is having the right permalink.

    Super Affiliate http://www.zerofrictionmarketing.org" rel="nofollow">Zero Friction Marketing

  • Posted by James T 2 years, 7 months ago

    I am also worried about changing the URL structure. We really have to make sure that the old URl redirects the new...

  • Posted by jaysays 2 years, 6 months ago

    I don't know... I'm still frightened.

    Do I take the leap? Do I continue with the /archive/%year%/%monthnum%/%day%/%postname%/ format?

    I just can't decide.

    thanks for the useful information though!

  • Posted by vbulletin 2 years, 2 months ago

    Head mixer like :S

  • Posted by WPExplorer 2 years, 1 month ago

    I have always been a huge fan of %postname%.html.
    Google seems to like it too!

    If you do not follow your categories or they are not meaningful (have keywords) to your site, do not include them in the url. They can hurt you more than help. Plus, they make the URL longer.

  • Posted by WPExplorer 2 years, 1 month ago

    I have always been a huge fan of %postname%.html.
    Google seems to like it too!

    If you do not follow your categories or they are not meaningful (have keywords) to your site, do not include them in the url. They can hurt you more than help. Plus, they make the URL longer.

  • Posted by SEOP.com 1 year, 8 months ago

    Great article! Simple yet informative tips. Thanks for the share!

  • Posted by gucci 1 year, 8 months ago

    "Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!

  • Posted by louisvuittonJewelry 1 year, 8 months ago

    Does this world exist if we fell in love with the someone we should not have?Is it a joke that god and devil makes if I loved you.
    http://www.cauldron-born.com/" rel="nofollow">
    http://www.cauldron-born.com/

  • Posted by gucci 1 year, 8 months ago

    Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum! http://www.oneor-more.com/" rel="nofollow">
    http://www.oneor-more.com/


Leave a comment


Comment via Facebook

Listed Under

Reactions

Tags