Tuesday, October 11, 2011

Blogger Post Title Appears Before Blog Title

In order to increase the chances that your contents will be found by search engines, it is important to place post title before blog title. This is usually a simple step that is achieved by placing a tag on the head section of HTML.
Login to Blogger – Dashboard – Design – Edit HTML, make sure that you save your HTML template incase of any problems, check out for this code:

<head>
<b: include data= ‘blog’name=’all-head-content’/>
<title> <data:blog:pageTitle/></title>

Replace it by putting the following code immediately after <head> tag;

<b:if cond=’data:blog.pageType==&quot;index&quot;’>
<title> <data:blog.pageTitle/></title>
<b:else/>
<title><data:blog:pageName/> | <data:blog.title/></title>
</b:if>

Save your template and you are done. You can simply check how it appears by clicking on any post on your blog and check how it appears on the Title Bar.

0 comments:

Post a Comment