How to Add Meta Tags to Blogger(Blogspot)?

by Aditya on January 7, 2009 · 51 comments

I have already written about Meta Tags which gives a clear concept of what are met tags and how can they help in Search Engine Optimization. A blogger contacted me asking how to add meta tags like meta keywords, description etc. to a blogger.com(blogspot) blog. Then I repented that I did not mention about adding meta tags in that post. However, in this post I will tell you step by step procedure of adding meta tags to a blogger.com/blogspot blog. I have also included illustrations where necessary. Hope you like this blog post. So without any further talks, let’s get started on our business.

Adding Meta Tags To Blogger(Blogspot)

1. Login to your Blogger.com account.

2. Click on ‘Layout’ and select ‘Edit HTML’ tab.

m1 How to Add Meta Tags to Blogger(Blogspot)?3. Search for the following code:
<b:include data=’blog’ name=’all-head-content’/>

4. Now place the following code just below <b:include data=’blog’ name=’all-head-content’/>

<meta content=’DESCRIPTION HERE‘ name=”description”/>
<meta content=’KEYWORDS HERE‘ name=”keywords”/>
<meta content=’AUTHOR NAME HERE‘ name=”author”/>

Now just change ext in red with your own text. ‘Keywords’ meta tag can have any number of keywords.

Analyzing Meta Tags

Adding meta tags to your website/blog is not enough. You should check if they are proper. Meta Tag Analyzer can be used for this purpose. I use web based meta tag analyzer from SEOCentro. It does not require you to register. Just fill your website URL and anti-spam code and you will be produced with a ‘Meta Tag Analysis Report‘ (see the image below).

m2 How to Add Meta Tags to Blogger(Blogspot)?
You should have meta tags relevancy more than 90%. If it is not so, try changing your meta tags content. Please do not include many keywords as some search engines will ban your website. Also, do not repeat the keyword more than 3 times.

If everything works fine, you will see your meta description appear below your website title in search results. (see the image below)

m3 How to Add Meta Tags to Blogger(Blogspot)?

So, what you think?

Did you like this post or you feel it wasn’t that good? Express your mind to me by leaving a comment.

Liked my ravings ?

Subscribe to my tech-ravings.

About Aditya: Aditya is a 16 year old online entrepreneur living in India. He is the founder and editor of Tech Ravings, a blog sharing latest apps and services from the tech world.Get more from Aditya on Twitter.

Subscribe to TechRavings

Full RSS FeedEmail
Follow Aditya on Twitter

Other Articles Of Your Interest

{ 51 comments… read them below or add one }

Anonymous January 7, 2009 at 2:49 pm

"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 "/>"" I got this error. pls help.

Reply

Aditya January 8, 2009 at 6:14 am

Check the code once more . I have done the correction. The codes should be in different lines.

Reply

boredg January 9, 2009 at 4:26 pm

This code works for me. Thanks

Reply

Mishu March 19, 2009 at 9:00 am

Thank you very much for your help. Its truely a strength that u can place every thing in a very easy way.
I am very new to this blog world, but i also can follow your steps and place those in actions.
Thanks again.
Mishu

Mishu’s last blog post..AIG Bonus Crisis: Pressure on Treasury Secretary

Reply   More from author

Attractive Women April 8, 2009 at 10:15 am

I just tried and it works. Thanks so much.

Reply   More from author

Niklas Indola April 17, 2009 at 12:59 pm

It worked well. However, there was a problem with the hyphens. Copying the code from this web page turned the hyphens into ´ and ` where blogspot wanted ‘. This generated an error message about xml.

Niklas Indola’s last blog post..Precisely wrong

Reply   More from author

Aditya April 17, 2009 at 6:31 pm

i am sorry for that. actually i did not thought of that. Hope that it worked well with you and you were able to figure out. By the way, I loved your blog. Only problem with your blog was that it does not provide subscription links. I was willing to subscribe.

Reply   More from author

HUGO April 20, 2009 at 5:46 am

I am trying to verify my site which I created in blogger. Went into webmaster toold copied the tag and tryed to verify and keep on getting error 404.

Here is what the html looks like:

What am I doing wrong?

Reply   More from author

Aditya April 20, 2009 at 12:16 pm

this 404 error indicates that either your blog has not been redirected to your domain properly or your domain name is till trying to propagate the changes across internet. i would suggest you to make sure that your domain is set up right and if you are sure that your domain is rightly configured, wait for few hours.

PS – 404 error has nothing to do with changing of meta tags. you can find more about 404 error at http://tinyurl.com/lz6kn

Reply   More from author

jifdc May 3, 2009 at 2:35 am

The best ever. Straight to the point. Thank you so much for posting this. I also like the analyzer tool that you recommended. This is key. I tried analyzing my site before inserting my meta tags and boy was I surprised to see how little my site had! The only meta tag being read was my site title and nothing more!?

Then after inserting the proper tags and re-analyzed my site…the meta tag analysis showed satisfying results! Amazing. I am sure that after this day, my site’s visibility will improve! Thank you so much for sharing writing this post.

Reply

Aditya May 3, 2009 at 10:57 am

It is my pleasure that you find this useful. Hope to be in your connections.

Reply   More from author

Naser May 22, 2009 at 3:51 pm

hello,iam not able to use your given tags,its showing
“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 “/>”" I got this error. pls help.

Naser’s last blog post..Computer Gaming Appropriateness

Reply   More from author

Aditya May 22, 2009 at 4:16 pm

You are getting the error because you must be copying the code directly from this webpage to the theme editor. Please copy and paste the code in Notepad (to remove formatting) and then copy the code from Notepad and paste it in the theme as told in this post. This will let you achieve the desired result.

Reply   More from author

Erik May 22, 2009 at 10:45 pm

I, too, am getting the error message:

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 “/>”.

I did what you instructed, which is copy and paste your meta text above into Notepad. Here is what I pasted into my Blogger template HTML:

What am I doing wrong?

Erik’s last blog post..The Deer Hunter – 30 years later

Reply   More from author

Aditya May 23, 2009 at 9:30 am

This should work fine as it worked for my blog when it was on blogger. Just send me the code you are pasting using contact page and I will sort out the problem.

Reply   More from author

Sharon May 26, 2009 at 6:21 pm

I am getting the error message like this:

“Open quote is expected for attribute “{1}” associated with an element type “content”

Can you help me?

Reply   More from author

grandizer May 28, 2009 at 10:17 pm

thanks! This worked for me.

Reply   More from author

Aditya June 10, 2009 at 3:29 pm

How to Add Meta Tags to Blogger(Blogspot)? – http://tinyurl.com/bkyper #bloggertips #blogger

Reply   More from author

Afzat June 28, 2009 at 12:05 pm

Thanks Buddy….

This thing worked for me. Thanks a lot. Keep on posting useful information like this.

Afzat’s last blog post..Sonam Kapoor in Red Topless looking gorgious

Reply   More from author

Chandru June 30, 2009 at 12:05 am

Please help me. I got error as

We were unable to save your template
Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “content”.

Chandru’s last blog post..Get Rid of Cant Delete/more File Used by another process Problem

Reply   More from author

Aditya June 30, 2009 at 3:29 am

You should first copy and paste the code in notepad (so as to avoid formatting) and thn copy it from notepad and paste it in blogger template. This should solve your problem.

Reply   More from author

Meta Tag For Blogger June 30, 2009 at 1:36 pm

Thanks a lot.
Try this if you have a time. Just another way.

http://metatagforblogger.blogspot.com/2009/06/different-meta-tags-for-each-post.html

Meta Tag For Blogger’s last blog post..How to Make Post Date In Blogger Disappear

Reply   More from author

kanishka July 13, 2009 at 2:00 pm

There were the following error(s) trying to process your request.
We only check pages with a size smaller than 146 KB.
Please make any changes and try again!

I got the following error msg while checking the report.please help me out. It asks me to make corections, i dont know what to do?

Reply   More from author

Aditya July 13, 2009 at 3:04 pm

You can use http://www.hypergurl.com/form.html for meta tag analysis. This should solve your problem.

Reply   More from author

AM July 15, 2009 at 8:25 am

Meta tags worked well. only thing i have to correct ‘ to “.

AM’s last blog post..Noida Metro

Reply   More from author

Sameer July 16, 2009 at 4:34 am

Thanks for giving very useful tool for meta tag analysis.

Reply   More from author

Naser August 14, 2009 at 7:51 am

thanks i got it

Reply   More from author

Ann Clemmons August 31, 2009 at 5:35 am

Thank you for a well-written and easy to follow post. However, after I added the meta code I got this reply: I’m not sure which tag is not closed. Also, is there a way to add your title page? Or is it already in the template?

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “content”.

I’m writing this late on Sunday night, Central time, therefore, I suppose I’ll just remove the code until I hear a reply.

Thank you,

Annie

Reply   More from author

georgeabujarur October 5, 2009 at 4:55 pm

Hi
I followed your instructions and copy the code in notebook, checked the hypens, but it gives me the sign:
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 “/>”.
My template is minima

Reply

Gaby October 23, 2009 at 1:05 pm

I had been getting the error message :

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “content”.

I went back and changed all of the apostrophes (i.e. <meta content=’Author’ name=’author’/> to ' so now it looks like: <meta content='Author' name='author'/>

It worked. Just replace the slanted apostrophes with the vertical ones (you can copy and paste from elsewhere in your html). sorry – I don't know what those apostrophes are actually called. HTH.

Reply   More from author

urdu translation services November 12, 2009 at 5:22 am

Many thanks for your kind SEO tips.

Reply   More from author

Chris November 17, 2009 at 2:54 am

A million “Thanks” and more! If I could shake your hand I would be honored to do so. Thanks again dude.

Email me maybe I can hire you for some help

Reply   More from author

Raphnexx SEO specialist November 25, 2009 at 1:00 am

Gonna try it to my site.

Reply   More from author

flimsyelf November 30, 2009 at 9:07 pm

Hi, I’m very new to HTML and blogs etc.
I got this to work by copying to notepad first, then changing all the ‘ apostrophes to “.

Thanks for all your help!!

Reply

Aditya December 1, 2009 at 3:43 pm

Ya. I just made the correction as suggested by Alex. Thanks for pointing out :)

Reply   More from author

Alex November 30, 2009 at 10:20 pm

Thanks. V useful. Your tip worked great, once I fixed the single-quotes. (You can prob go back and edit your post so that other folks won’t have this problem.)

Reply   More from author

Aditya December 1, 2009 at 3:40 pm

Thanks for pointing it out Alex. I fixed it. May your blog attain all the success you desire. Cheers!

Reply   More from author

Ranjit December 16, 2009 at 11:09 pm

Thanx a lot for helping me

Reply   More from author

Aditya December 17, 2009 at 9:09 am

Anytime Ranjit :) You have a pretty well-designed blog.

Reply   More from author

Taimur khan December 27, 2009 at 11:16 pm

Not just adding the meta tag in the head section would solve your problems but you will need to seperate the home page meta tag and the post page meta tag. Or else these meta tags would mess all your search engine descriptions up …

Here is a solution i have made for all of bloggers .. till now most of you don’t know this ..

http://www.vnoma.com/2009/12/add-separate-meta-tag-to.html

Try and i bet this will totally change your search engine rankings.

Reply   More from author

ehra January 6, 2010 at 8:06 am

I have followed what you have said and when I checked my site in SEOCentro I found the color green in all of meta tags analysis does it mean that I am doing it correctly ? Anyway is their a chance for it to have an error when search engine finds it?

Reply   More from author

Aditya January 6, 2010 at 12:07 pm

It is good that all is green. It means that you are going right. I don’t think that there is any chance to have an error when your pages are being crawled by search engines.

Reply   More from author

Jo January 7, 2010 at 1:05 am

I’ve tried everything that you have posted above but I’m still getting this error message. Can you help?

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “data”.

This is what my text looks like:





<![CDATA[/*

Reply   More from author

Lulu January 11, 2010 at 11:21 pm

How do I add pages to my blog that aren’t blog.

Thanks!

Surviving Happy

Reply   More from author

Aditya January 12, 2010 at 10:10 am

Can u please tell me what do you exactly want to do?

Reply   More from author

flashpowerplug January 17, 2010 at 9:39 pm

Use This code And ta da your problem is solved

Reply   More from author

Bing My Pics January 24, 2010 at 12:34 am

Nice info. Thanks for the share.

Reply   More from author

Inapaler January 24, 2010 at 3:28 pm

Thanks for this article I easily put my meta tags on my http://nigeriansmovies.blogspot.com/
simple blog.

thanks again.

Reply   More from author

Article reprint February 24, 2010 at 11:52 pm

Thanks a million, this article was very helpful

Reply   More from author

Jonathan Sherman March 4, 2010 at 9:35 pm

Solved it: Don’t use apostrophes in the customized content areas.

For example, for my blog “The 52 Love Songs Project” when the description read ‘One man’s ongoing love affair’ it gave this error:

We were unable to save your template
Please correct the error below, and submit your template again.
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 “/>”.

When I removed the apostrophe from “man’s” as follows
‘One mans ongoing love affair’ it saved the template just fine. It took me forever to figure that out and nothing on this and other forums found that out. So hope that helps somebody else.

This is the full code I used and it’s now working fine:

<

Reply   More from author

sandy March 4, 2010 at 10:32 pm

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “data”.

did cut and paste, changed area in red only; but receieved above error message.

It didn’t work for me. Can you help?
Sandy

Reply   More from author

Leave a Comment

Additional comments powered by BackType