Things you need to know about Permalinks

August 22, 2008 by Andy 






Permalinks are a great way to optimize your blog post URLs.  If you read my article on WordPress Permalinks,  you may be using the same permalink structure that I use, namely this one:

/%category%/%postname%/

With this type of permalink structure, your post URLs will look like this:

http://affiliate-minder.com/wordpresstutorials/install-wordpress-theme/

This is an actual URL from this site.  See that the %postname% is replaced with the name of the post, and the %category% is replaced with the name of the category.  I know, its fairly obvious, but bear with me.

What if you used nested categories?

Suppose you have a category called “blue-widgets”, that you setup to be a sub-category of the “widgets” category?

Well the post URL would now look like:

http://mydomain.com/widgets/blue-widgets/the-post-name/

See how WordPress includes the full category path to your post?

That’s great for SEO, especially if you create your categories carefully to make sure that categories are grouped into “silos”, where you have the main category at the top, and all of the highly related categories as sub-categories of that main one.

However, there is one thing that you need to be aware of.

WordPress sets up “category” pages, which all posts in that category are posted to. An example is the WordPress Tutorials category on this site.  Click the WordPress Tutorials link in the top nav bar.

You are taken to this page where you can see the most recent posts in the category:

http://affiliate-minder.com/category/wordpresstutorials/

Look at the URL.  Because this is a category page, the word “category” is used by default in the URL before the actual category name (“wordpresstutorials”).

Now there is a plugin you can use called “Top Level Categories” that will remove the “category” word from these “category page” URLs.

The above URL would then look like this:

http://affiliate-minder.com/wordpresstutorials/

Much better, right?

Well….. There are some limitations to this plugin, and one is that it wont work when your permalink structure is set to:

/%category%/%postname%/

Why?  I have no idea.  But if you use the same permalink structure I do, this plugin is no use.

You do have another option.  You can specify a word to be used instead of the word “category” in these category page URLs.

Login to your WordPress Dashboard, and click on the Settings –> Permalink menu.

customcategory

(Click to enlarge).

There is a box where you can enter the Category base.  If this is left empty, WordPress will use the word “category” when displaying category pages.

My advice here is to insert a word that covers your main niche.  That way all of your category pages will have an extra keyword in them.

For example, it your site was one dogs, you could enter the word “dogs” (or maybe if your domain already had that word in it, you could enter “canine”, “mans-best-friend”, or something similar, but preferably a word or phrase that is searched for).

As with all things SEO, don’t overdo this optimization.  If you cannot think of a word to use, simply leave it blank.

Print This Post Print This Post

Related Articles

  • WordPress Permalink Structure - Since we want to create a well-structured web-site, we need to set WordPress up so that it creates SEO friendly URLs for your posts.  To do this, we need to edit the Permalink options. Literally speaking, a permalink is link that doesn’t change.  e.g. when you write an article for your website, it is given a
  • Creating Custom sidebars in WordPress - Have you ever wanted to have certain ads only show if the sidebar of certain pages? WordPress uses a template system that means every page uses the same sidebar, but we can add code to the sidebar to test if a page is in a certain category and then insert code if it
  • Using WordPress for Affiliate Sites - WordPress is a fantastic tool for creating affiliate sites, but how do you set it all up? We look at a couple of models you could use. Bookmark on Delicious Digg this post Recommend on Facebook Buzz it up Buzz it up share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post
  • Why use Tags in WordPress - WordPress Tags?  What are they and why should you be using them? Since WordPress 2.3, tags have become an integral part of blogging with WordPress. Have a look at sidebar on this page.  Do you see that large box full of words?  That’s a tag cloud. Each of the words in this box are words I have used
  • Manual Upgrade of WordPress - It has happened a few times to me.  The automatic upgrade plugin for WordPress hasn’t worked.  The last time this happened was with WordPress release 2.6.1. and it happened on all of my blogs.  Is it a hosting issue, or a plugin issue?  I am not sure, but what I am sure about is that
"The Money Is In The List"

AWeber proves it to thousands of businesses every day.

Learn how email marketing software
can get you more sales, too.

Comments

3 Responses to “Things you need to know about Permalinks”
  1. Charles Ward says:

    Hi Andy

    Thanks for this great tip, I have been wondering for a while how to get rid of the word ‘Category’

    Regards

    Charles

  2. Hi Andy,

    If you have an existing blog and change the permalink structure, will that affect the exisiting blog titles? And If it does, i’m guessing then we should not change it for it would create new and duplicate pages.. Correct?

    Thanks,

    Chris

    PS – Glad you came up with this b/c it is sorely needed. I’ve searched other sites for blog help and pretty much nothing. I even have semiologic and feel lost b/c of the lack of training available there so thank you for taking the time to do this!

  3. Andy says:

    It will affect all link URLs so I dont advise it if the site is ranked well.

Leave A Comment...