Optimize Your Title Tag

I came across so many blogs that used repetitive title either in the main page or post. I have no argument on this. In fact, this is the default WordPress title tag as well as most themes you used. Let say, you have a blog namely “My Personal Blog” and you create a post titled “My First Post”. As the result, you will see this at the very top of your browser page:

My Personal Blog – My First Post

Sure, nothing is wrong about it. However I believe this is not an optimized title. Not only has it increased the number of keywords but also reduced the search engines wattage. As quoted from DailyBlogTips;

Suppose you are using the title “John Doe’s Blog” on all the pages. Even if you have a post talking about “The New PlayStation 3″ the title tag for this post will be “John Doe’s Blog”, which is not very effective (because there is no match on the keywords). A much better title would be “The New PlayStation 3″, that is exactly equal to the post name rather than the blog name.

To overcome this, all you need to do is modify the header.php of your existing theme. By default, the command looks like this:

<title>
<?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?>
<?php wp_title(); ?></title>

Copy the codes below and replace the default.

<title><?php if (is_home () ) { bloginfo(‘name’); }
elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo(‘name’); }
elseif (is_single() ) { single_post_title();}
elseif (is_page() ) { single_post_title();}
else { wp_title(‘’,true); } ?></title>

What the code does is:

  • Display the blog name on the main page
  • Display the post title on individual post page
  • Display the category title followed by blog name on category page

To my personal opinion, having an optimized title tag is another path we all need to follow in order to create a successful blog. How about yours?

digg reddit delicious stumbleupon technorati furl ma.gnolia
Does this post useful? Subscribe to RSS Feed for updates.
Posted on: June 9, 2008 | Under Blog Optimization 
 

2 Responses to “Optimize Your Title Tag”

  1. cekka on June 11th, 2008 6:11 pm

    Sad.. well done!
    you should concerntrate this blog more.

  2. Assad on June 15th, 2008 5:54 am

    Thank you. I am happy you love reading my posts. For sure, I’m going to post more and more tips for my readers.

Share your thoughts




Speak your mind