I've made the move to WordPress!

You should be automatically redirected in 5 seconds. If not, please visit:

I look forward to seeing you there!

Sunday, July 31, 2011

Set Blogger Blog Title After Post Title

By default, Blogger automatically posts your blog's title before your post title.
Sometimes it's not that big of an issue.

Other times, it means someone won't visit your blog.

I noticed it on my own posts, once they appeared in Google's search results. It looks awkward and cuts off the portion of your title that you really want people to see.

It's definitely something you'll want to change.

For example, you have a blog title of "Super Happy Fun Time". You write a post about "How to Get and Keep Kids Entertained at a Social Event". Since Google will display your post title after your header, you risk your Blogger post showing up as something like "Super Happy Fun Time: How to Get and Keep Kids..." which sounds like quite the different subject.

You can correct this by editing your Blogger template. I have to give the same warning as anyone else providing instructions on editing it - save your template first.

Moving along, here are the steps to revise the appearance of the post title for your search results:
  1. Login to your Blogger blog. You should be taken to your Dashboard.
  2. Click "Design".
  3. Click "Edit HTML".
  4. Check the box for "Expand Widget Templates".
  5. Click anywhere inside the template code. Click CTRL+F to bring up the "Find" search box.
  6. Search for the following code: <head>
  7. Somewhere just after that code, paste the following:
    <b:include data='blog' name='all-head-content'/>
    <b:if cond='data:blog.pageType == &quot;index&quot;'>
    <title><data:blog.pageName/> - <data:blog.title/></title>
  8. If you'd prefer, you can change the "-" to a "|" or whatever else you might want.
  9. Click "Save Template".
  10. If you run into problems, make sure the apostrophes are not curly braces. In scripts and code, you cannot use curly braces (curled apostrophes or quotation marks). If you run into this with any script or code, copy it into Notepad and replace any curly braces then paste back into your template.
Hope that helps with your blogscapades!


Post a Comment

I appreciate the time you are taking to make this comment.