How to Use Permalinks to Enhance Your WordPress SEO Blog
This is the first of the WordPress SEO Tutorials series.
By default, WordPress gives you this dynamic URL for your post: “http://yourdomain.com/?p=SOME-ID-NUMBER”. The best SEO permalink structure is to have your post appears with ‘category’ and the ‘post title’ in the URL.
This looks something like this: “http://yourdomain.com/category/post-title”
Why is this the best SEO permalink structure compares to the other structures?
To simply put, this permalink structure allows you to have ‘more’ keyword loaded into the URL of your post. Since the category that you’ve placed your post under usually related to the post title (which hopefully is keyword-loaded itself), you will have the extra SEO benefit if other people use that permalink structure to link your post.
How to Change the Default Permalinks to ‘Category/Post-Title’ Permalinks
In order to change the default permalink structure, you need to go to “OPTIONS -> Permalinks” in your admin panel and paste this code into the BOX after “Custom Structure:”
/%category%/%postname%/
Next, click the “Update Permalink Structure >>” button; if WordPress does NOT automatically update the permalink structure to for you–don’t worry–just do the following:
-If you don’t have a .htaccess file in your root directory (public_html/.htaccess) already, just ‘create a new file’ and name it .htaccess and place it in “public_html” directory or whatever directory you have your WordPress blog installed (e.g. public_html/blog/.htaccess, which is equivalent to yourdomain.com/blog/.htaccess).
-Then, copy and paste the code WordPress gives you after clicking on the “Update Permalink Structure >>” button into your .htaccess file. *Note: You need to click on the some option (e.g. ‘Edit’) of your .htaccess file to open up a window to paste your permalink code in the file.
The code is same as following if you are using WordPress 2.0 or higher:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Just copy and paste that ‘mod-rewrite’ code into your .htaccess file, save it, and you are DONE!
Now, your old AND new post will automatically carry the category the post is assigned to, plus the title name of that post:
http://yourdomain.com/blog/category/post-title
*Note: That’s the default ‘Post-Slug’ structure after the updated permalink, but if you want to change the name of the ‘post-title’ in the post’s URL, just go to ‘Post-Slug’ (located on the right-hand side of the “Write” page) and input/change to what name you want.
Also, be sure to check out my post on “3 WordPress Plugins to Safely Change Your Permalink Structure” if you’re going to change to your blog’s old permalinks to a new permalink structure.
O.K. Now, that concludes my first WordPress SEO tutorial on permalink structure. If you have any question, just post a comment below…
If you’re new here, you can subscribe to my blog’s full RSS feed to read the latest entries at the convenience of Google Reader or other RSS readers. Thanks for visiting!
If you like "WordPress SEO Tutorial: The Best SEO Permalink Structure,"
please consider linking to this page:


[...] my previous post on “WordPress SEO Tutorial: The Best SEO Permalink Structure,” I realize that I had left out a major point to be taken: if you’re changing your old [...]
Nice guide! This definitely is the best permalink type for SEO - dont bother with dates.
Rich Page
Reply to this comment »http://www.rich-page.com
Internet Fanatic
Nice post! must say
I did that at http://www.bontb.com
Reply to this comment »Hey, be sure to check out my post on “3 WordPress Plugins to Safely Change Your Permalink Structure” before proceeding to the change
.
Reply to this comment »Nice info. But, what happens when you decide to change the names of your category or just be done with some after a while?
I am currently using dates but thinking of switching to the above mentioned permalink structure. Also, how about using UTW tags instead of category?
Reply to this comment »[...] my previous post on “WordPress SEO Tutorial: The Best SEO Permalink Structure,” I realize that I had left out a major point to be taken: if you’re changing your old [...]
What about changing it for the first time? For instance my cat link could be ?cat=23 but then once I put permalinks it goes to 404, because it’s /%category%/
Is there anything that can redirect regular string stucture to the new permalink?
Reply to this comment »[...] http://theseoblogger.com/seo-b.....structure/ [...]
Thanks for your tip,
i have just followed exactly what you have suggested
Reply to this comment »A good point regarding URL structure, check out my SEO beginners guide on SEO Tutorials for other useful tips when building your site.
Reply to this comment »Somehow I will not sugest using category permalink structure if you choose more then two category for one post
Reply to this comment »I have been looking into the best structure and your points make good sense. Many SEO Gurus use the %postname% solely structure. Many others say that might be the best way, but I wonder about the Wordpress info on this:
Using only %postname%
If you use postname as the only element in your permalinks to create a structure such as example.com/post-title, the rewrite rules may make it impossible to access pages such as your stylesheet (which has a similar format) or the /wp-admin/ folder [is this true in WordPress 2.0+ versions?]. It’s best to include some numeric data (e.g. the post ID or date) in the permalink to prevent this from happening. Additionally, WordPress v1.2.x requires the use of a date structure in order for some features, such as the calendar, to function properly. /%year%/%monthnum%/%day%/%postname%/ is always a good start.
What are your thoughts on that?
BJ Carter
Reply to this comment »Webnovate
[...] with old permlink are already in Google’s index then you need to redirect them to new URLS. The SEO blogger has written a quality post about this [...]
Does your permalink structure really matter? According to the people at Stompernet Google doesn’t care about that. Maybe other search engines do.
Reply to this comment »[...] The SEO Blogger, they are making a sound point about the importance of getting the post’s name in the [...]
[...] struktur Day and name dan Month and name adalah yang bagus, tetapi ada pula yang mengatakan bahwa Custom Structure yang paling bagus, karena kita dapat mengkostumisasi sendiri dari permalink [...]
Thanks for the tutorial. It’s of great help.
Reply to this comment »One of the latest link building fads seem to be commenting on peoples blogs. Now personally I think this is a good idea, everyone seems to be a winner, blog want reader, SEO want link from multiple different blogs. Everyones happy. (It does tend to create a whole loads of complete rubbish conversation completely built to get post by hay no victims there).
Reply to this comment »I am using this tip at my site Breaking Jist but what is the “extra SEO benefit” to this?
Reply to this comment »I’m going for /%postname%/ on most of my WP sites but can imagine including categories could be usefuk for catching more search terms if you choose the category names wisely.
Reply to this comment »I’m not sure if this Permalink structure is really the best.
When you use /%category%/%postname%/ SE’s and web browser would treat it as a directory rather than a page. In my opinion Google gives more priority to a content rich “page” than a directory.
The page loads slowly on older browser when you use directory structure! Instead if you use /%category%/%postname%.html the browser will request the exact page.
One more point; if your domain name contains your main keyword then there is no need to add /%category%/ to your URL. The domain name, directory name and URL will have your keywords…so it might look like over optimization for Google.
One of my sites got penalized by Google after I changed my Permalink!
So be careful
Reply to this comment »RB
[...] my previous post on “WordPress SEO Tutorial: The Best SEO Permalink Structure,” I realize that I had left out a major point to be taken: if you’re changing your old [...]
[...] The SEO Blogger also recommends only using /%postname%/ as the permalink [...]
So what is the best structure permalink?
Reply to this comment »I like the idea using : index.php/%category%/%postname%