Optimizing your <title> tag in WordPress
The <title> tag can be one of the most important when it comes to search engine optimization. It can easily mean the difference between several page ranks on most search engines.
The key thing to understand is that the keywords appearing earlier in the <title> tag are the ones that carry the most weight. This is why it is important to format your <title> tags as: post title – site name. This formatting can easily be achieved in WordPress by using the following bit of PHP code between the <head> tags:
<title>
<?php wp_title(' '); ?>
<?php if(wp_title(' ', false)) { echo '-'; } ?>
<?php bloginfo('name'); ?>
</title>
By formatting your <title> tags correctly, you should be well on your way to achieving higher search rankings (assuming you have quality content, of course!).










Download Design








September 21st, 2006 at 9:03 pm
[...] your <title> tag in WordPress. tags: Search Engine Optimization, WordPress | Permalink | [...]
May 4th, 2007 at 6:51 am
Excellent tip and implementation example, thank you for sharing
.
October 26th, 2008 at 4:22 pm
[...] Welcome to my blog, please feel free to subscribe to my RSS feed or leave a comment.My WordPress content in review for September 21st 2006. It was worthy to get a lot from Optimizing your tag in WordPress. [...]