Tutorial for adding meta description, keywords and title in blogger blogs.

Discussion in 'Blogging' started by arpitagarwal82, May 13, 2007.

  1. #1
    By default blogger use same meta keywords and description for all pages (home page and post page). This description is added through the tag <$BlogMetaData$> in you template.

    Here is a small tutorial for adding dynamic meta tags and meta data in your blogger blog (blog hosted on blogger.com).

    This tutorial is for the classic templates in blogger blog. To confirm that your blog has classic template, look for the <$BlogMetaData$> tag in the starting of your blog template. If you find it then its classic template. else its a new widget type template.

    To create a dynamic meta data add following code just above the <$BlogMetaData$> tag.

    <mainpage><title><$BlogTitle$></title></mainpage>
    <ArchivePage><title><$BlogPageTitle$> Archive</title></ArchivePage>
    <itempage><title><blogger><$BlogItemTitle$></blogger> - <$BlogTitle$></title></itempage>


    <meta name="keywords" content="<ItemPage> <Blogger><$BlogItemTitle$></Blogger>,</ItemPage> <ArchivePage><Blogger><$BlogItemTitle$>, </Blogger></ArchivePage><$BlogTitle$>, keyword1, keyword2, keyword3" />


    <MainPage><meta name="description" content="<$BlogDescription$>" /></MainPage>
    <ArchivePage><meta name="description" content="<$BlogPageTitle$> Archive, <$BlogDescription$>" /></ArchivePage>
    <ItemPage><meta name="description" content="<Blogger><$BlogItemTitle$></Blogger> - <$BlogTitle$>" /></ItemPage>



    This code gives you a dynamic meta data. By dynamic meta data I mean different keywords and description for your main page and each post page.

    Meta Title:
    For home page it will be your blog title. For archives page it will be page title ( like blog title with archive moth etc.) and for post page it will be the title of your post.

    Meta Description:
    For Home page it will be same as the description you have filled for your blog. For archives page it will be same as archives title and for post page it will be the title of post.

    Meta keywords:
    with the code above, you can insert the desired keywords. Also the words from the post title will also be included in the keywords of each post page.

    After saving the changes in you template you can check the meta data with the help of this tool.
    http://www.widexl.com/remote/search-engines/metatag-analyzer.html

    Just use the URL of you home page and then any post page to see the difference.

    felt like sharing it with other DP members.
    I hope it works for you.
    Will try soon to post the trick for widget template in blogger blogs.
     
    arpitagarwal82, May 13, 2007 IP
    Darins likes this.
  2. bigp

    bigp Peon

    Messages:
    293
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That should prove to be helpful to others around who are using blogger. Nice post.
     
    bigp, May 14, 2007 IP
  3. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #3
    can i remove this line? after adding this code.

    <title><$BlogPageTitle$></title>
     
    i_am_dhaval, May 24, 2007 IP
  4. arpitagarwal82

    arpitagarwal82 Notable Member

    Messages:
    2,996
    Likes Received:
    398
    Best Answers:
    0
    Trophy Points:
    280
    #4
    Yes remove that line after adding that code.
     
    arpitagarwal82, May 24, 2007 IP
  5. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #5
    " <meta name="keywords" content="<ItemPage> <Blogger><$BlogItemTitle$></Blogger>,</ItemPage> <ArchivePage><Blogger><$BlogItemTitle$>, </Blogger></ArchivePage><$BlogTitle$>, keyword1, keyword2, keyword3" /> "

    ------------------

    if i will write

    keyword1 = abc

    keyword2 = 123

    keyword3 =xyz

    then abc ,123,xyz apiar in all the pages (mens it's common for aall pages?)
     
    i_am_dhaval, May 24, 2007 IP
  6. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #6
    arpitagarwal82

    Just what I've been looking for.

    Would you mind writing a guest blog post about how to SEO the meta tags for blogger? You can add a link to your blog in return.

    Drop me a PM if your interested

    Darren
     
    DarrenC, May 24, 2007 IP
  7. arpitagarwal82

    arpitagarwal82 Notable Member

    Messages:
    2,996
    Likes Received:
    398
    Best Answers:
    0
    Trophy Points:
    280
    #7
    Yes Dhaval. keywords which you put there will appear in all the pages. But the keywords from post title will appear first. The trick is to use the keywords of your blogpost in post title.:)


    Sure Darren. But I can do it after two days.
     
    arpitagarwal82, May 25, 2007 IP
  8. eniva

    eniva Active Member

    Messages:
    305
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Is there anyway to do this for the new blogger?
     
    eniva, Jun 14, 2007 IP
  9. Darins

    Darins Peon

    Messages:
    255
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i think this meta code for classic blogger, nothing loose to try.. :)
     
    Darins, Jun 14, 2007 IP