Sunday, October 14, 2012

HOW TO ADD META TAGS FOR EACH POST IN BLOGGER



META TAGS GOR EACH POST


Meta-tags are pieces of code within your website that contain information about each page of your website. These tags are supposed to provide information to the search engines and users what the page is all about and what are the main contents etc. In Blogger you can add meta tags to only your  homepage.


Here in this tutorial i will tell you how to add meta tags to individual posts in blogger which will help you stand better in search engines result pages.


  • Go to Blogger Dashboard >> Template >> Edit HTML. 

  • Now find these lines in your template 

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

  • Now paste the below code after that line


<b:if cond=’data:blog.url == “Your Blog URL”‘>
<meta content=’Write some Description For Your Blog’ name=’description’ />
<meta content=’A Few Keywords For Your Blog’ name=’keywords’ />
</b:if>

 
  •  Now to  add tags for individual posts in blogger add the below code after the above  codes. The text that is highlighted in purple is added
 
<b:include data=’blog’ name=’all-head-content’/>
<b:if cond=’data:blog.url == “Your Blog URL”‘>
<meta content=’Write some Description For Your Blog’ name=’description’ />
<meta content=’A Few Keywords For Your Blog’ name=’keywords’ />
</b:if>
<b:if cond=’data:blog.url == “Your Post URL‘>
<meta content=’Write some Description For Your Blog’ Post name=’description’ />
<meta content=’A Few Keywords For Your Blog Post’ name=’keywords’ />
</b:if>
<b:if cond=’data:blog.url == “Your Post URL”‘>
<meta content=’Write some Description For Your Blog’ Post name=’description’ />
<meta content=’A Few Keywords For Your Blog Post’ name=’keywords’ />
</b:if>
 So your full code will look like the above code. You need to add the purple code the number of times as of your post
 
 

0 comments:

Post a Comment

.
.

Featured Posts