How To Add Meta Tags to Blogger


meta-tags-blogger

Meta Tags provide the information about your blog to the search engines. Read some of the definitions of meta tags:

“Meta elements are HTML or XHTML elements used to provide structured metadata about a Web page. Such elements must be placed as tags in the head section of an HTML or XHTML document. Meta elements can be used to specify page description, keywords and any other metadata not provided through the other head elements and attributes”.
wikipedia.org)

“A HTML tag that provides information about the web page. Meta tags may contain information about what the page is about (keywords and description), who wrote the page, when they wrote it and much more. Many search engines use this information when indexing pages”.

(white-hat-web-design.co.uk)

How To Add Meta Tags in Blogger blogs:

  1. Go to Blogger DashboardDesign – and click Edit HTML

  2. Search(Ctrl+F) for the following code in the header at the top:
    <b:include data=‘blog’ name=‘all-head-content’ />
  3. Now paste the following code right after the above line:
    <meta content=‘YOUR BLOG DESCRIPTION HERE’ name=‘description’ />
    <meta content=‘YOUR RELEVANT KEYWORDS HERE’ name=‘keywords’ />
    <meta content=‘YOUR NAME HERE’ name=‘author’ />
    <meta content=‘ALL’ name=‘ROBOTS’ />
    <meta content=‘blogger’ name=‘generator’ />

    If you get the error given below, copy the codes to a text editor (like Notepad), delete all the single quotation marks and type them manually:

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

  4. Save the Template.

Hope it worked fine. Drop your comments if not.



You May Also Like:

Article by Shafar.
About the Author: Tech Freak, Android Lover, Wordpress Addict, Social Media Junkie and the Founder of TipsBlogger.
To submit guest posts to TipsBlogger, please read the Guidelines.

82 Responsesto “How To Add Meta Tags to Blogger”

  1. vinoth kumar says:

    The meta details will then be published on all the blog post instead of the post specific content, am i correct??? i.e., These meta description not only displayed on the home page, but also on our individual post page which might be irrelevant one in some case..

  2. Shafar says:

    @vinoth kumarYes, meta tags are shown in all pages and it might be irrelevant for some pages as you said. To avoid irrelevancy of meta tags(like Description meta tag), we should create meta tags keeping in mind the main topics covered in our blog or website!Thanks for the drop by, keep in touch..

  3. Melissa says:

    THANK YOU! You post was the first (out of ten that I read) that explained correctly and it worked!

  4. Anonymous says:

    can someone paste the html??i need to know where the code should be pasted exactlythank u

  5. Shafar says:

    @MelissaWelcome to TipsBlogger! Glad that it worked for you! Keep in Touch..@AnonymousSee the 2nd step clearly.

  6. auntie_biotic says:

    Could you please check my headers? Im not sure if they are ok and if not which bits to delete

  7. Shafar says:

    @auntie_bioticIt's fine, no need to delete any bits! :)

  8. Rigitans' says:

    thanks a lot :)

  9. BIFS Insurance & Financial says:

    Doesnt work

  10. Shafar says:

    @BIFS Insurance & Financial ServicesHi, did you get any error message while saving the template?

  11. Anonymous says:

    Nice work !Try tho too…Blogger Tips

  12. Anonymous says:

    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.

  13. @taimurislamkhan
    Thanks a lot for sharing! Even I was looking for this solution!

  14. Jusuf says:

    thanx for ur tips it really work
    much appreciated

  15. TechGyo says:

    Hi Guys, here’s a handy tool to automatically generate meta tags for your blog

    http://www.techgyo.com/2010/04/techgyo-automatic-meta-tag-maker-for.html

  16. @123TuneStore
    Thanks for sharing..

  17. Thanks, very help full.

  18. Andy says:

    Wow! thanks a lot, I just added the Meta Tags to my blog. I never knew that we can manipulate the meta content for a blogspot blog. Thanks a log buddy this post helped a lot :)

  19. Shafar says:

    Glad that I could help you. Hey you are repeating a keyword too much, which is not good for SEO. Just a suggestion! :)

  20. Ralph Slatton says:

    I keep getting an error no matter how I tweak this. Could you please tell me what I'm doing wrongs. Thanks

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

    Here are my metatags;

    <meta content=’This site is dedicated to AC Gilbert and Co., and their wonderful educational chemistry sets. As a child, I remember experimenting in my backyard, playing with the alcohol lamp and blow torch. ‘ name=’description’/>
    <meta content=’ac gilbert co, chemistry set, experimenting, child 50s, blowtorch, educational tool, international bicycle, tree houses, baseball, comic books, hide seek, 50s 60s, fallout shelters, educational toys, erector set, nostalgia, growing up, westville conn, idealized, ice cream bars, mom dad, child playing, manual, test tubes, science, technology, home lab‘ name=’keywords’/>
    <meta content=’ralph slatton‘ name=’author’/>
    <meta content=’ALL’ name=’ROBOTS’/>
    <meta content=’blogger’ name=’generator’/>
    <title><data:blog.pageTitle/></title>

  21. @Ralph Slatton
    Try copying the code again. It's working fine now.

  22. thanks brother, I dont know anything about seo, this post will surely going to help me, thanks for your support.

  23. Pedro says:

    thank you so much, tried guides from at 5 websites and failed every time untill i found this page! worked first time. lets hope this helps google find me

  24. Kevin CKL says:

    Google ‘meta tag generator’ then use the meta tag generator by simply put some of your information. Just follow the instruction given and edit your template. :)

  25. Shafar says:

    @Kevin CKL
    This post was published one and half years ago for the beginners! :)
    Thanks for your tips.

  26. Demi19 says:

    Thank you!! I struggled all morning until I found this and it worked seamlessly!!

  27. Vijay S Paul says:

    Hey, thanks a lot for the info. But just one doubt. Does Google still read the meta tags for SEO?

  28. ralphslatton says:

    I just wanted to thank you. I had some problems earlier, but with your advice, I was able to get the code to work.

  29. Shafar says:

    @Vijay S Paul
    Yes of course! Just add a description tag and see your blog listed with that description on Google after few days.

  30. malkhan says:

    not working. after putting this code, no changes in the posting option, where I have to write my tags???
    Pls explain.
    thanks

  31. Shafar says:

    @malkhan
    There won’t be any changes in the Posting option, meta tags shows description of your blog to search engines.

  32. Will says:

    I’m not really familiar with SEO. Tried your method above, but i keep on getting an error message saying:

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

    Would you know what the problem is?

  33. Shafar says:

    @Will
    I have made some changes to the codes, please try again now.

  34. Amrish Singh says:

    Thank’s for sharing this tip . But by this we can only add meta tag only for main page .Is their any method to add this for each post ?

  35. Jack says:

    I am having the same problem as Ralph. What is the solution?

    Thanks

  36. Shafar says:

    @Amrish Singh
    I’m not sure of doing this in Blogger. Two years back I came across a page in Google explaining how to automatically assign categories in blogger as meta tag KEYWORDS. I tried to find it for you again, but sorry I couldn’t. Try on Google or forums.

  37. Shafar says:

    @Jack
    It’s working fine now. Please try again.

  38. Aditya says:

    Thanks. Worked Like Magic!!!!!!!!

  39. Jackie says:

    Thanks for sharing such great information. It is posted everywhere about how important meta tags are but they never tell you how and where to put them. Thanks again!

  40. Ril says:

    Thanks for the info!It works.

  41. Willy says:

    Thank’s Shafar its work for just at the first i get error messege like 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”.
    And i change all this kind (‘) attribute to this (“) to close the ” content” and its work fine.

  42. duke says:

    Nope not working….
    after code I have the following too . But, I had paste after both of them and Template cannot be parsed :(

    my blog

  43. Shafar says:

    @duke
    It’s still working when I checked, worked for others too after I made some changes recently. Try using double inverted commas instead of single.

  44. Shafar says:

    @Willy
    It’s still working when I checked, worked for others too after I made some changes recently. Try using double inverted commas instead of single.

  45. Rui says:

    @Shafar – thank you so much…your post really helped me :)

    @Will @Duke
    i have same error like yours…if you copied the code format of Shafar at the top…try pasting it on a notepad first…then re-edit the single quotation mark.

    for some reason when i compared the single quote mark using notepad from the blogspot html w/ what’s provided here – it looked different on notepad.

    i hope i help. can’t technically explain what i meant to :(

  46. Aditya Soni says:

    Dear

    Please help me to resolve an issue, i have installed meta tag to mah blogs html tag but still google not showing it, the snippet is generated from dmoz… i have tried alot to ban search engine robots to prevent bu the script provided by google webmaster failed to installed ( showing message the word meta matched with end tag what should i do)

  47. Hi, I’ve done what I think is the right thing but when I go to open my preview Internet Explorer says it has modified the page to prevent cross scripting. Can you please tell me what I’m doing wrong. If it’s something to do with my security settings, won’t everyone with the same settings have the same problem?

  48. Oh wait. It worked. For those as dopey as me…change from single (‘)

    to (“)

    Thought writing it out might help others understand :D

  49. Ugh, hold on, code didn’t appear..
    Change from (‘) to (“)

    So from ‘YOUR BLOG DESCRIPTION HERE’ name=‘description’ />
    To “YOUR BLOG DESCRIPTION HERE” name=”description” />
    on each code

  50. I am unable to find:

    What should I do?
    Where should I put the meta tags then?

  51. Marky6 says:

    Does anybody here wants to suggest me. What will i put to my RELEVANT KEYWORDS?

    Do i need to put TITLE every name of my invidual post? heres my blog:http://xxxmehide.blogspot.com/

  52. Arif Mughal says:

    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 that all XML elements are closed properly.
    XML error message: Open quote is expected for attribute “{1}” associated with an element type “content”.

    blogger gives this option when i paste the code and save…please give me its solution

  53. lakmal says:

    Please can you describe the last two meta tags (ROBOT and generator). what should i type for ‘ALL’ and ‘blogger’

  54. Shafar says:

    @lakmal
    Keep as it is :) Just change the desc, keywords and author.

  55. Shafar says:

    @Arif Mughal
    Copy the codes to a text editor (like Notepad), delete all the single quotation marks and type them manually.

  56. Shafar says:

    @Naruto Uzumaki
    It’s clearly given in Step-1 and Step-2. :)

  57. Shafar says:

    @The Daily Random
    That may be because of the error mentioned in step-3.
    Please copy the codes to a text editor (like Notepad), delete all the single quotation marks and type them manually.

  58. Shafar says:

    @Aditya Soni
    Changes in Meta Tags takes little time to appear on Google.
    Try the meta tag verification option in Google Webmasters and add that meta tag below the following line:
    <b:include data=‘blog’ name=‘all-head-content’ />

    Good luck.

  59. Team AVIRA says:

    Please help me in adding the meta tag. I have tried manually, with different online tools but i get the XML error again and again. I don’t know why its so. This is the meta tag that i want to generate and add to our site .. please help me ..

    waitng for positive reply :|

  60. Shafar says:

    @Team AVIRA
    What is the error message you are getting?

  61. TEAM AVIRA says:

    XML error … BUT its fine now :) … actually i have written very BIGGG discription and lot of keywords .. after modifying it worked awSOme :)
    ThankS alot ..:)

  62. Shafar says:

    @Team AVIRA
    Good Luck :)

  63. Juvette says:

    I did follow your code a couple of minutes ago and it did save perfectly. Right away, i entered my description in google search engine and nothing appeared.

    Can somebody help me?

  64. Shafar says:

    @Juvette
    The changes will not appear in the search results right away. Wait for few days and check.

  65. Really helped me.Thanks for this informative post!!

  66. AEthanoscopy says:

    Hi Shafar! This is a great tool for beginners like. I never thought that there could be someone like you who is willing to share gifts such as skills. Looking forward to see more of my posts in the first pages of search engines. Thanks a lot! I really appreciate this site. More power!

  67. Shafar says:

    @Aethan (AEthanoscopy)
    Hello Aethan, there is nothing like skills in this. I got these ideas from various sources and from my blogging experience, so shared! Glad I could help you. :)
    Good Luck.

  68. Tehseen says:

    I Had this error while saving template
    error bx-jgfk like
    can u help me

  69. Shafar says:

    @Tehseen
    Hello Tehseen, these are common errors in blogger that arise during template tweaks. You can either try again in the same template or change your template. You can also post a question in official blogger forum here:
    http://www.google.com/support/forum/p/blogger?hl=en

  70. Born2sell says:

    its not working for my blog …

    Always occure this :
    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”.

  71. Shafar says:

    @Born2sell
    Copy the codes to a text editor (like Notepad), delete all the single quotation marks and type them manually. Then try again.

  72. hash says:

    and what about each post…how to add meta for each post

  73. Hoang Long says:

    Thank you for the tip.

    I am using new blogger template and there have much change. Hope, you could update the post. :)

    Hoang Long

  74. prithivi says:

    it helpful tips for increasing my web traffic..

    thanks…

  75. Rahul says:

    Awesome, it worked in my blog,i copied in notepad then changed again quote , i didnt add description only keyword and author because due to sometime irrelevant to some of my post ,Thank you very much Happy weekend .

  76. Hensaamni says:

    its giving this error again and again

    Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
    XML error message: The element type “head” must be terminated by the matching end-tag “”

  77. Shafar says:

    @Hensaamni
    Copy the codes to a text editor (like Notepad), delete all the single quotation marks and type them manually.

  78. Hensaamni says:

    hi sharaf
    dear i Have a lot of problem
    i really v.v.v. Amgry
    i fallowd rahul
    not add discription but
    again and again this showing i put another blog but same result
    your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
    XML error message: Open quote is expected for attribute “{1}” associated with an element type “content”.

  79. Shafar says:

    @Hensaamni
    As I said earlier, copy all the codes to Notepad/other text editor, delete all the single/double quotes and type these quotes manually, then try updating your template.

Leave a Reply