Sunday, June 19, 2011

How To Put Meta Tag Your Blogger Blog Label As Keywords


I have struggled a long time for how to put meta tag in my blogger blog, and how to use label as meta keyword. After a long time I got the code for meta tag. Here I shared this very easiest way to put meta tag in your blogger blog.
How To Put Meta Tag Your Blogger Blog Label As Keywords
Blogger-Meta-Tag-images
  • Go to your Dashboard and open layout Section> edit HTML (expand Widgets Template)
  • Delete all Content between <head> tag and  <b:skin> tag!
  • Now paste the following code between <head> tag and  <b:skin> tag.
<head> <b:include data=’blog’ name=’all-head-content’/> <b:if cond=’data:blog.pageType != &quot;index&quot;’>    <title><data:blog.pageName/></title>     <meta name=’description’ expr:content=’data:blog.pageName’ /> <b:else/>    <title><data:blog.pageTitle/></title>    <meta name=’keywords’ content=’your,blog,keywords!!’ />    <meta name=’description’ content=’your blog description!!’ /> </b:if>
  • Now find this code
  • <b:section id=’main’ showaddelement=’no’>
    <b:widget id=’Blog1′ locked=’true’ Posts’ type=’Blog’>
  • Paste this code above this code
<b:if cond=’data:blog.pageType == &quot;item&quot;’>    <b:section id=’meta1′ showaddelement=’no’>    <b:widget id=’Blog23′ locked=’no’ type=’Blog’>       <b:includable id=’nextprev’/>       <b:includable id=’backlinks’ var=’post’/>       <b:includable id=’post’ var=’post’ />       <b:includable id=’status-message’/>       <b:includable id=’comment-form’ var=’post’/>       <b:includable id=’backlinkDeleteIcon’ var=’backlink’/>       <b:includable id=’postQuickEdit’ var=’post’/>       <b:includable id=’commentDeleteIcon’ var=’comment’/>       <b:includable id=’feedLinks’/>       <b:includable id=’feedLinksBody’ var=’links’/>       <b:includable id=’comments’ var=’post’/>       <b:includable id=’main’ var=’top’>          <b:loop values=’data:posts’ var=’post’>             <b:if cond=’data:post.labels’>                <!– If the post has labels, make Meta keywords by looping lables –>                &lt;meta name=&quot;keywords&quot; content=&quot;<b:loop values=’data:post.labels’ var=’label’><data:label.name/><b:if cond=’data:label.isLast != &quot;true&quot;’>,</b:if></b:loop>&quot; /&gt;             </b:if>          </b:loop>       </b:includable>    </b:widget>    </b:section> </b:if>
You are all done, Check out your page info at your blog homepage and post pages! If you like this post please comment for feedback or suggestions.

5 comments:

  1. Want to know more about total Android world? As like as Apps, Games, OS Updates, News Update. Just stay connected with this page.

    http://earlyandroidnews.blogspot.com/

    ReplyDelete
  2. Learn Java full Course video tutorial ,programming http://learncoding.cf

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete