WordPress SEO Tutorial: The Best SEO Permalink Structure
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 http://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…


More Related SEO Articles:
[…] 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
http://www.rich-page.com
Internet Fanatic
Nice post! must say
I did that at http://www.bontb.com
Hey, be sure to check out my post on “3 WordPress Plugins to Safely Change Your Permalink Structure” before proceeding to the change
.
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?
i’m a newbie. and i’m wondering if you made a decision to go ahead with category?
i have some doubts because i frequently attach more than one category to my posts. i would apptreciate your advice.
[…] 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 […]
hello. newbie here. i frequently attach more than one category to my posts. would your permalink recommendations work for me? for example would “http://greenassembly.net/category/post-title” pick out the first category alphabetically or what i wonder? sorry if this is a stupid question but i’m frightened of experimenting in case i “break something” and can’t get back! you know what i mean.
Hi Jeremy,
Yes, WordPress should do that. Also, make sure to have all of your categories ‘pre-determined’, so you don’t change them later; if you do change the category of the post later, make sure to 301 redirect the category slug using “Redirect Plugin” by John Godley of UrbanGiraffe.com. That way you won’t “break” anything/permalinks.
Also, if you didn’t not use the “Post Excerpt Editor” plugin for your category (which will show the post excerpt for each category page), you should only append one post to one category to avoid duplicate content.
Hope that help.
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?
[…] http://theseoblogger.com/seo-blogs/wordpress/wordpress-seo-tutorial-permalink-structure/ […]
Thanks for your tip,
i have just followed exactly what you have suggested
Helps a lot! Thanks!
I read this site and it is very greate.
take a look here:
seo toronto
Agreed!, i have been using this type of permalink for my blog and it works like a charm. The more keywords in our url the better.
One thing worth considering, before you decide to set this kind of permalink. Make sure you’ve fully aware of the effect. Because each of your post will have 2 address, like this
http://www.blogname.com/uncategorized/my-blog-is-cool
and
http://www.blogname.com/myblog/my-blog-is-cool
Both of the above addresses will redirect you to the same page. I hope it’s not detected as duplicate content by mr.G