Saturday, November 12, 2011

Remove Blog Name from Title on Blogger

One thing that has bothered me for a while is the fact that every one of my blog post page titles starts with the blog name.

While in my case that is very short (just STG's), it still is worse for SEO than just the post title.

A quick look showed me how to fix it.

You just need to do a simple edit on your template (Design->Edit HTML on Blogger)

Then you find
<title><data:blog.pageTitle/></title>

And replace it with:
<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/></title>
</b:if>

0 comments: