11/19/2008

How to add different Meta Tags to your blogger posts ?

For those who don't know about Meta Tags , let me introduce you What is a Meta tag ?
A meta tag is an element of HTML that often describes the contents of a Web page, and is placed near the beginning of the page's source code.Meta Tags are not displayed in the page . Search engines use information provided in meta tags to index pages by subject . Most common keywords are Description and Keywords .

Normally we add meta tags to the entire blog in Blogger so that search engines understand what we are writing about . But it will be better if you can add meta tags at the post level . So How to add different Meta Tags in your Blogger posts ?First I will tell you How to add meta Tags to your Blogger blog ?
  • Login to your Blogger account , and Navigate to Layout --> Edit HTML . Find the line below.
<b:include data='blog' name='all-head-content'/>

  • Now add the following piece of code below the above line and replace YOUR-BLOG-URL with your blog main page URL .
<b:if cond='data:blog.url == "http://YOUR-BLOG-URL/"'>
<meta content='DESCRIPTION' name='description'/>
<meta content='KEYWORDS' name='keywords'/>
</b:if>

  • With this you are done adding meta tags to your blog . Now we will add different tags to your Blogger posts . Add the following piece of code below the code which you added above and replace YOUR-BLOGPOST-URL with the specific URL of the post for which you want meta tags to be added .
<b:if cond='data:blog.url == "http://YOUR-BLOGPOST-URL"'>
<meta content='Type your post description here.' name='description'/>
<meta content='Type your post keywords here' name='keywords'/>
</b:if>

  • Repeat the above step for all posts to whom you want unique meta tags to be added and save your template .
Love Blogging Tips From Technade ? Subscribe to my feed or click here to get updates via email .

You might also Love to read this ?
Most common mistakes Blogger 's do with Adsense
How to get more visitors from search Engines by optimising your blog title ?
How to create and add a favicon to your blog or website ?

you can get More Blogger Tips and Tricks here .


3 comments:

Thanks! This is a great tip for Blogger blogs that I hadn't figured out yet. Wordpress does has a plugin for this and I always use it and it helps.

Too difficult, your template will also grow too big if you put many tags for many posts, slowing your website's access. I have a better technique to do it:

http://isaacyassar.blogspot.com/2009/02/how-to-add-different-keywords-to.html

i think its difficult for putting different meta keywords, cant we use our labels as meta keywords, i have heard about it plz help..

Post a Comment