Dynamic Meta-tags for Blogger

Wednesday, December 10, 2008

I was surprised, when I have searched for this keyword "Dynamic Meta-tags for Blogger" there is no accurate information given in any website. Some website have given how to generate dynamic title, some shows how to generate dynamic description etc. Then I realize that there are millions of informative blogs, but no one have written about dynamic meta-tags even Blogger is a service of Google.

Your search for dynamic meta-tags is over here.

Step One
As usual, backup your blog's template before making any changes to your template HTML.

Step Two
Start by locating the following HTML codes (located somewhere near the top):


<title><data:blog.pageTitle/></title>
<b:skin><![CDATA[/*

Delete this line from your code:
<title><data:blog.pageTitle/></title>

Copy the dynamic header codes from here:

<code>
<b:if cond='data:blog.url == "http://yourblogname.blogspot.com/"'>
<title><data:blog.pageTitle/></title>
    <meta content='DESCRIPTION' name='Your Blog Home Page Description'/>
<meta content='KEYWORDS' name='Your Blog Home Page Keywords'/> </b:if>
<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName/>:<data:blog.title/></title>
<meta expr:content='data:blog.pageName + data:blog.title + data:blog.pageName' name='Description'/>
<meta expr:content='data:blog.pageName + data:blog.title + data:blog.pageName' name='Keywords'/>
</b:if>
</code>

Paste the copied code directly above the
<b:skin><![CDATA[/* code.

Do not forget to change
-
http://yourblogname.blogspot.com/
- Your Blog Home Page Description
- Your Blog Home Page Keywords

First code will be fixed metatags for your blogs home page and second code will generate dynamically metatags for your individual pages.

Click on the Save Template button.
Congratulations, you have successfully changed your blog's static header to a dynamic header. Try it out.


For any sort of SEO Services contact Web Development India.

8 comments:

pero December 21, 2008 8:52 PM  

word. about time. nice and concise.

mygoldmineonline January 12, 2009 11:46 AM  

Why the heck you disable you left+right mouse click if you so kind and expertise to give those tricks.How to they copy those damn code???Aren't you hoping that they'll use a soure code to copy it????

Colin Robinson January 30, 2009 3:40 AM  

Label page problem :S untitle

BlogMaster February 2, 2009 10:55 PM  

Mr. SEO Expert you have disabled copy in your page and says to copy the code... haa haaa

Cowok Metro March 20, 2009 7:41 AM  

hahaahah, i can copy the code, mr SEO hahahaha

Cheezmozo Magazine March 25, 2009 9:03 AM  

I actually copy the code by typing it! LOL. it gives me this error.

why?

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Element type "meta" must be followed by either attribute specifications, ">" or "/>".

Rio May 20, 2009 8:57 AM  

to copy page like this go to tool -> content -> content->uncheck the enable javascript box

Josh September 18, 2009 7:10 AM  

Thanks for the post...usefull

http://firyfriends.blogspot.com

  © Blogger template Cumulus by Ourblogtemplates.com 2008

Back to TOP