WordPress Title Tag Tip

I noticed earlier today that I had a few WordPress blog posts ranking in Google, but the title be displayed was in this format: “MonkeyKnifeFight.com >> Blog Archive >> This is the title of my post”. Needless to say, that isn’t very SEO friendly. It’s especially a problem if you’re using an older WordPress theme – they don’t tend to be SEO friendly, either. Luckily, the fix is very easy. Open up the theme’s header.php file, and right near the top will be the title tag.  Just replace it with this:

<title><?php wp_title(‘|’, true, ‘right’); ?><?php bloginfo(‘name’); ?></title>

If a user is on the home page, they’ll the title as “MonkeyKnifeFight.com”.

If a user is on an inside page, they’ll see “This is the title of my post | MonkeyKnifeFight.com”. Snazzy, eh?