Bloggers SEO Tips - Source Code To Optimize Your Blog For Higher Organic Searches

Bloggers SEO Tips - Source Code To Optimize Your Blog For Higher Organic Searches


Search Engine Optimizing (SEO) your Blog is the second most important thing to get the best from google and other search engine. if you are guessing what's the first most important thing is, well its writing quality posts, without this whatever we do we won't be getting any loyal visitors like now.

Without properly optimizing our site for Search Engine, we will lost all the major organic traffic from Google, Bing and other search engines. Currently 45% Of our site traffic are organic traffic and my goal is to take it to 70% and a daily minimum traffic of 2K Visitors and with more visitor chances of earnings increases too

You will find a lot of post on the internet telling you to do different thing to optimize your blogger blog, so what's the different here?. Well the first and foremost difference is this is a fresh post and based on current SEO Trends. In this post I will share you to how to add meta tags and rich data snippet in your blogger site to get more Organic Traffic.


Below Is The Source Code To optimize your Blogspot Blog, just follow the step below

How To Add Meta Tags And Rich Snippet In Blogger Blog?


  1. First Backup your Current Template, if for some reason something goes wrong you can roll it back.
  2. Now go to Blogger >> Theme >> Edit HTML
  3. Now press ctrl+f and search for the keyword <head>
  4. Now Paste the code just below <head> tag.
  5.       <!-- [ Meta Tag SEO ] -->
    <meta content='blogger' name='generator'/>
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
    
    <!-- [ This Tag Allow You To Post As your Blog On Another Site ] -->
    <link href='http://www.blogger.com/openid-server.g' rel='openid.server'/>
    <link expr:href='data:blog.homepageUrl' rel='openid.delegate'/>
    
    
    <!-- [ This Code Will Optimize Your Page TITLE ] -->
    <link expr:href='data:blog.url' rel='canonical'/>
    <b:if cond='data:blog.pageType == "index"'>
    <title><data:blog.pageTitle/></title>
    <b:else/>
    <b:if cond='data:blog.pageType != "error_page"'>
    <title><data:blog.pageName/> - <data:blog.title/></title>
    </b:if></b:if>
    <b:if cond='data:blog.pageType == "error_page"'>
    <title>Page Not Found - <data:blog.title/></title>
    </b:if>
    
    
    <!-- [ Code To Block Duplicate Content In Google Search Result] -->
    <b:if cond='data:blog.pageType == "archive"'>
    <meta content='noindex' name='robots'/>
    </b:if>
    <b:if cond='data:blog.searchLabel'>
    <meta content='noindex,nofollow' name='robots'/>
    </b:if>
    <b:if cond='data:blog.isMobile'>
    <meta content='noindex,nofollow' name='robots'/>
    </b:if>
    <b:if cond='data:blog.pageType != "error_page"'>
    
    
    <!-- [ Code To Add Google Rich Data Snippet ] -->
    
    <script type='application/ld+json'>
        {
          "@context": "https://schema.org",
          "@type": "Organization",
          "url": "YOUR WEBSITE URL",
          "logo": "YOUR WEBSITE LOGO",
          "sameAs" : [
        "YOUR WEBSITE FaceBook Page",
        "YOUR WEBSITE Twitter Page",
        "YOUR WEBSITE Youtube Channel",
        "YOUR WEBSITE Google+ Page or Account"
      ]
    }
    </script> 
    <script type='application/ld+json'>
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "url": "YOUR WEBSITE URL",
      "name" : "YOUR WEBSITE NAME",
      "potentialAction": {
        "@type": "SearchAction",
        "target": "YOUR WEBSITE URL/search?q={search_term_string}",
        "query-input": "required name=search_term_string"
      }
    }
    </script>
    <script type='application/ld+json'>
    {
      "@context": "http://schema.org",
      "@type": "WebSite",
      "name": "YOUR WEBSITE NAME",
      "alternateName": "YOUR WEBSITE ALTERNATE NAME",
      "url": "YOUR WEBSITE URL"
    }
    </script>
    
    <!-- [ Code To Add Keyword Meta Tag ] -->
    <b:if cond='data:blog.homepageUrl != data:blog.url'>
    <meta expr:content='data:blog.pageName + ", " + data:blog.pageTitle + ", " + data:blog.title' name='keywords'/>
    </b:if></b:if>
     <b:if cond='data:blog.pageType == "index"'>
    </b:if>
     
    
    <!-- [ Code For FEEDS] -->
    <link expr:href='data:blog.homepageUrl + "feeds/posts/default"' expr:title='data:blog.title + " - Atom"' rel='alternate' type='application/atom+xml'/>
    <link expr:href='data:blog.homepageUrl + "feeds/posts/default?alt=rss"' expr:title='data:blog.title + " - RSS"' rel='alternate' type='application/rss+xml'/>
    <link expr:href='"http://www.blogger.com/feeds/" + data:blog.blogId + "/posts/default"' expr:title='data:blog.title + " - Atom"' rel='alternate' type='application/atom+xml'/>
    <b:if cond='data:blog.pageType == "item"'>
    <b:if cond='data:blog.postImageThumbnailUrl'>
    <link expr:href='data:blog.postImageThumbnailUrl' rel='image_src'/>
    </b:if></b:if>
    
    
    <link expr:href='data:blog.url' hreflang='x-default' rel='alternate'/>
    <link href='/favicon.ico' rel='icon' type='image/x-icon'/>
    <link href='YOUR Google+ URL/posts' rel='publisher'/>
    <link href='YOUR Google+ URL/about' rel='author'/>
    <link href='YOUR Google+ URL' rel='me'/>
    <meta content='YOUR COUNTRY NAME' name='geo.placename'/>
    <meta content='YOUR NAME' name='Author'/>
    <meta content='general' name='rating'/>
    <meta content='YOUR COUNTRY CODE' name='geo.country'/>
    
    <!-- [ Social Media Meta Tag ] -->
    <b:if cond='data:blog.pageType == "item"'>
    <meta expr:content='data:blog.pageName' property='og:title'/>
    <meta expr:content='data:blog.canonicalUrl' property='og:url'/>
    <meta content='article' property='og:type'/>
    </b:if>
    <meta expr:content='data:blog.title' property='og:site_name'/>
    <b:if cond='data:blog.url == data:blog.homepageUrl'>
    <meta expr:content='data:blog.metaDescription' name='description'/>
    <meta expr:content='data:blog.title' property='og:title'/>
    <meta content='website' property='og:type'/>
    <b:if cond='data:blog.metaDescription'>
    <meta expr:content='data:blog.metaDescription' property='og:description'/>
    <b:else/>
    <meta expr:content='data:blog.pageTitle' property='og:description'/>
    </b:if>
    </b:if>
    
    <b:if cond='data:blog.postImageUrl'>
    <meta expr:content='data:blog.postImageUrl' property='og:image'/>
    <b:else/>
    <b:if cond='data:blog.postImageThumbnailUrl'>
    <meta expr:content='data:blog.postThumbnailUrl' property='og:image'/>
    <b:else/>
    <meta content='YOUR WEBSITE LOGO' property='og:image'/>
    </b:if>
    </b:if>
    <meta content='YOUR FB PROFILE' property='article:author'/>
    <meta content='=YOUR FB PAGE URL' property='article:publisher'/>
    <meta content='YOUR FB APP ID' property='fb:app_id'/>
    <meta content='en_US' property='og:locale'/>
    <meta content='en_GB' property='og:locale:alternate'/>
    <meta content='summary' name='twitter:card'/> 
    <meta expr:content='data:blog.pageTitle' name='twitter:title'/>
    <meta content='YOUR TWITTER USERNAME' name='twitter:site'/>
    <meta content='YOUR TWITTER USERNAME' name='twitter:creator'/>    
    
    
  6. Change the highlighted code with your data and save your template.

The above code will Optimize you blog for search engine and social sharing.If you face any problem, post it below i will try my best to help you out.


If you find this post helpful share it

Post a Comment

HackerWalaBlog has a zero tolerance spam policy and I reserve the right to accept or reject your comment. Any comment related to the topic is most welcome.

Previous Post Next Post