Fixing Blog Post Titles in WordPress
One of my many low priority annoyances with this blog is that the theme that I am using places the blog name in front of the post or page title. Not a huge deal, but when these pages get indexed by Google or Bing, the search results show JamesWampler.com and then the actual title of the post. I spend quite a bit of mental energy trying to name my posts with good search terms in them, so I actually want the post title to display most prominently.
Not a big deal to fix. I found a post describing how to pass parameters into the wp_title() method to adjust how the blog name is beiong displayed. Open the header.php file located at /wp-content/themes/your-theme-name/ and paste the following line over the existing <title> line.
<title><?php wp_title('-',true,'right'); bloginfo('name'); ?></title>
This will change you theme to display all posts and pages with the page title on the left and the blog name on the right. Now all I need to do is wait for Google and Bing to re-crawl the site and update the titles.




