Wednesday 28 December 2011

How Add META TAGS to Blogspot

How Add META TAGS to Blogger(blogspot) blogs
Yesterday, a reader(Yakacha) asked me, How to add Different Meta tags to Different Blogger Posts What's the use of adding different meta descriptions to different Blogger Posts? How To Add Meta Tags to Blogger
It is very good for SEO (Search Engine Optimisation) . Actually, why we are adding meta tags is to tell search engines what that page is all about... but, using same meta tags to all of your blog posts lessens the search engine rankings and traffic little bit.
But, if you add different unique meta tags to different Blog posts, it makes the search engines to know more about your individual blog posts and make them crawl and index your pages better and it also improves your Search engine rankings for sure ;)

So, how to add this How To Add Meta Tags to Blogger ?

For this to happen, you have to add some pieces of codes to the template.
First Sign in to Blogger dashboard » Layout » Edit html

and find this line
<b:include data='blog' name='all-head-content'/>

and add this code just below that line



<b:if cond='data:blog.url == "http://bloggertricks.com/"'>

<meta content='DESCRIPTION' name='description'/>
<meta content='KEYWORDS' name='keywords'/> </b:if>


So, the final code looks like this one




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

<b:if cond='data:blog.url == "http://bloggertricks.com/"'>

<meta content='DESCRIPTION' name='description'/>

<meta content='KEYWORDS' name='keywords'/> </b:if>

<b:if cond='data:blog.url == "http://bloggertricks.com/2008/05/how-to-add-paypal-donate-button-to-your.html"'>

<meta content='How to add Paypal Button to your Blogger Blog, Adding Donations to your blog' name='description'/>

<meta content='Adding,Paypal,Donate,Button' name='keywords'/> </b:if>


We now added meta tags to the homepage. Next, you want to add meta description for another post, for example : http://bloggertricks.com/2008/05/how-to-add-paypal-donate-button-to-your.html

Now, what you have to do is pasting the above three lines below the present code and changing the link,description and keywords.
So, the final code now looks something like


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

<b:if cond='data:blog.url == "http://bloggertricks.com/"'>

<meta content='DESCRIPTION' name='description'/>

<meta content='KEYWORDS' name='keywords'/> </b:if>

<b:if cond='data:blog.url == "http://bloggertricks.com/2008/05/how-to-add-paypal-donate-button-to-your.html"'>

<meta content='How to add Paypal Button to your Blogger Blog, Adding Donations to your blog' name='description'/>

<meta content='Adding,Paypal,Donate,Button' name='keywords'/> </b:if>


Just like the above procedure, you can add different meta tags to as many blog posts as you can.

Try it out and share your experiences!

Source : BLoggerTrick

Related posts

0 comments:

Post a Comment