Balkhis - Vision For Success

SEO Friendly URLs for WordPress (Permalinks)

Dear Readers, I would like to thank you for reading this post. I highly value your feedback and would like to know more about my readers. Follow me on Twitter


As promised in my last post, I will now teach you guys how to actually rank for the long-tailed keywords using wordpress. As we all know that Google actually looks at the url for the keyword as well as the page-title. So it is very possible that the site with the url that has the keyword will rank higher.

To show you that google does count the url

Google Does Count the URL

Now having that said you definately need to get your blogs url to show keywords in it to rank high and pick up some good long-tail keywords.

By Default your wordpress blog comes with

< http://example.com/?p=N > This sort of structure where N is the number specified to the item in mysql. This is completely non-seo friendly because it is not static. Whatever you do you need to get rid of this one.

[raw]/%category%/%postname%/[/raw]

Balkhis is running on the above permalink structure. What does that do? Well for instance when i posted about the Ultimate Promotion Technique the url was something like this

www.balkhis.com/advertising/ultimate-promotion-technique/

It have the category name and the post title. Which resutled me to rank first for the keyword in google.

Ultimate promotion technique

Now this is just one way to get SEO Friendly Permanlink structure in wordpress and my favorite way by the way.

There are multiple other ways you can do it. Another good technique I used was when i was making a more static content site with wordpress. My designing firm Uzzz Productions, Yes even though it doesn’t look like it … It is powered by WordPress.

I used the same structure as Balkhis, but just added .html in the end so it became something like this:

[raw]/%category%/%postname%.html[/raw]

Which makes my post pages seem like that they are static pages.

http://www.uzzz.net/wordpress-templates/lupon-adsense-ready-free-wordpress-theme.html

Now this is just a trick and you can play it many different ways showed on the official wordpress page

Here are some of the tags you can use in making your own permalink structure

%year% – The year of the post, four digits, for example 2004

%monthnum% – Month of the year, for example 05

%day% – Day of the month, for example 28

%hour% – Hour of the day, for example 15

%minute% – Minute of the hour, for example 43

%second% – Second of the minute, for example 33

%postname% – A sanitized version of the title of the post (post slug field on Edit Post/Page panel). So “This Is A Great Post!” becomes this-is-a-great-post in the URI (see note below)

%post_id% – The unique ID # of the post, for example 423

%category% – A sanitized version of the category name (category slug field on New/Edit Category panel). Nested sub-categories appear as nested directories in the URI.

%author% – A sanitized version of the author name.

Now once you have decided which permalink structure you are going to be using… All you have to do is login to your wordpress admin panel.

Go to the menu Options > Permalinks

Select the field Custom, Specify below

Paste your permalink structure there, and click the button on the bottom of the page called Update Permalink Structure.

It will give you a small .htaccess code in the text field at the bottom, copy that code and paste it in your .htaccess file for your blog, and you are good to go.

Good luck ranking for the long-tail keywords and get some good traffic.



To stay updated with the blog, please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox. I hate spam as well, so I promise you that you will not be spammed.
Add to Social Bookmarks:
Add this Article to Digg Add this Article to Stumbleupon Add this Article to Del.icio.us Add this Article to Reddit Add this Article to Newsvine Add this Article to Technorati

RSS feed

16 Comments

Comment by arief_baskoro Subscribed to comments via email
2008-04-04 21:52:56

Recently I try to install one permalink plugin to put .htm in the end of the url, but it doesn’t work in my WP 2.33. then I google for an alternative, I came up with this artikel. This really help me, I don’t know if I don’t have to install any plugin for this.
Big thanks for you Dude
:) :)


 
Comment by CodingBanter
2008-04-08 06:46:56

This article is really helpful. Thanx!


 
Comment by Puneet
2008-04-17 05:31:54

this changes shud b made while we start fresh new blog … right ?

wat if we change this to an existing blog few months old ?
right now am using “%postname%” now if i include category too then the urls will b changed … that wud b a bad idea of change for now .. right ?


Comment by Syed Balkhi
2008-04-17 08:21:07

It is really upto you Puneet. Depends on how you are doing for rankings right now. I definately say for new blogs they should go for this type of structure. Although I don’t think there is anything wrong with your structure either.


 
Comment by Angad Sodhi
2008-06-18 23:57:51

As long as you r not using ?p= and stuff, its fine. I suggest you dont change the structure now


 
 
Comment by lukmanf
2008-04-23 21:33:11

thanks balkhi, I being search for this


 
Comment by Siva Subscribed to comments via email
2008-05-14 08:32:54

I setup the perma link as you mentioned but I get 404 error when I click on the post. Is there any other change in htaccess required?


Comment by Syed Balkhi
2008-05-14 21:27:01

Not that I know off…. Really I can’t tell without seeing what is going on in your blog.


 
 
Comment by Angad Sodhi
2008-06-18 03:04:11

Great example Syed. Nice observation


 
Comment by Rakhshinda
2008-06-18 22:10:32

A really helpfull step by step article, will come in handy, thanks syed.


 
Comment by promosyon
2008-08-08 12:00:42

Thanks for articles, I have searched blog same this since long time


 
2008-10-21 07:31:24

[...] is an awesome tool, but wordpress alone cannot accomplish a lot. You need to know how get search engine friendly urls. Then you need to have All in One SEO Plugin. The bottom line is just read all the seo related tips [...]


 
2009-01-28 10:22:30

[...] spam your description or title with keywords. Put the keywords in it, but put them moderately. Use Search Engine Friendly URLS for wordpress because they are easy to follow and makes your site more [...]


 
 
Comment by Daily Tech Buzz
2009-06-17 23:44:54

this article is very useful as i am a newbie and starting my first wp tech blog :)


 
Comment by fan
2009-07-22 03:19:45

good article..thx.for info..


 

Sorry, the comment form is closed at this time.

Subscribe to Balkhis via RSS
Subscribe to Balkhis via Email Pimp My Blog