Saturday, January 29, 2011

How To Show Blog Post Title First On Search Engine

I have 2 ways,
  • Only Blog Post Title
  • Blog Post Title+Blog Title                       
1. Go to blogger dashboard and click Layout and 
   click Edit HTML

2. Better to backup your template before editing this. 


3. Press Ctrl+F and find this code      <title><data:blog.pageTitle/></title>

4. If you want only Blog Post Title replace the above code with this code.

<b:if cond='data:blog.pageType == &quot;index&quot;'>

<title><data:blog.title/></title>

<b:else/>

<title><data:blog.pageName/></title>

</b:if>

5. If you want only Blog Post Title+Blog Title replace the above red code with this code.

<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>

6. This will help you to get more traffic to your site.

0 comments:

Post a Comment