1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Optimize Titles and Meta Tags on Blogger Blogs

Discussion in 'Blogging' started by SeoQuest, Oct 1, 2012.

  1. SeoQuest

    SeoQuest Junior Member

    Joined:
    Jun 24, 2012
    Messages:
    142
    Likes Received:
    41
    Location:
    Europe
    I recently started few blogger blogs and i had to spend some time doing research because i wanted to seo optimize my blogs and as you know blogger is not flexible as wordpress. So i hope these tips will be helpful for people who like me are not very good in coding or don't want to pay for hosting and want to use blogger for their blogs.

    How to optimize blogger titles

    To optimize your blogger titles you have to edit your blogger template. Login in your blogger account, go to Template and click Edit Html. You will see the source code of your template. Hit Ctrl+F and find this code:

    <title><data:blog.pageTitle/></title>

    Replace it with this code:

    Code:
    <b:if cond='data:blog.pageType == "item" '>
    <title><data:blog.pageName/></title>
    <b:else/>
    <title>Home Page Title</title>
    </b:if>
    <b:if cond='data:blog.url == data:blog.homepageUrl'>
    <meta content='home page description' name='description'/>
    <meta content='Home page keywords' name='keywords'/>
    </b:if>
    This code allows you to have custom title in the home page titlebar which you can make it look more seo friendly. Just replace "Home Page Title" with you desired title. This title will show only on the home page. The second part of the code allows you to add meta tags to your home page.


    How to optimize meta tags for inner pages

    If you want to add meta tags for each of your inner pages you can use this code:

    Code:
    <b:if cond='data:blog.url == "http://yourdomain.blogspot.com/yourblog-post-url" '>
    <meta content=' post description' name='description'/>
    <meta content='post keywords' name='keywords'/>
    </b:if>
    For each page that you want to add meta tags you have to insert a new code in the <head> </head> section of the template and replace "http://yourdomain.blogspot.com/yourblog-post-url" with your post page url. I included only "description" and "keywords" but you can add as many other meta tags as you want.

    Note that this two codes will not work properly for the blogger templates with dynamic views.