Main menu

Pages

Search engine optimization scripts for blogger or site


Search engine optimization or SEO is a technique or process to get high traffic from top ranked search engines such as Google , Bing , Yahoo .
Every Blog or site must search engine optimized , if not , then your blog or site will not get fruit juice as others sites enjoying .
I am a blogger since 3 years and learn one thing that if your blog is not optimized for SEO , then you are wasting your time in blogging .

Search Engine Optimization for Blogger and wordpress
Search Engine optimization is not just a easy task that anyone can do it . There are many factors that define SEO  Such as Post title , Image optimization , Keywords , Original contents and much more .

But , you can learn basic thing in this topic , how you can boost your traffic by SEO by adding 4 most wanted scripts in your blog template :



Note : First Backup your Blog template

1. Meta Tag And KeywordsMeta tag and keyword define that what your blog is about . Blog description define what is your blog about , what are you writing in your blog etc . Keywords is an index entry that identify your post in google search   . Every keyword must be separated by comma ( , ) and matched within your blog category .

   How to /
 *  Go to Blogger Dashboard > Template > Edit Template .
 *  Search For  "  <b:include data='blog' name='all-head-content'/>  " by using  ( CTRL + f ).
 *  And then , Paste the below code just after "  <b:include data='blog' name='all-head-content'/>  " , and then save the template .


    <meta content='BLOG DESCRIPTION ' name='description'/> <meta content='BLOG KEYWORDS ' name='keywords'/> <meta content='BLOG AUTHOR NAME ' name='author'/>


    Note :
     * Replace ' Blog Description '  with your blog description .
     * Replace ' Blog Keywords ' with your Blog Keywords with in 256 characters .
     * Replace ' Blog Author Name '  with your Name .



    2.  Nofollow Nofollow tag is mostly used to block search engines from following blog Comments due to huge spamming . As per SEO , Not only comments , but all external link should have Nofollow  tag . If you add nofollow tag in any external link , then the web crawler treat that external link as text .This will increase your Rank in google and alexa .

      How to /

         *  Go to blogger template editor 
         *  Search for </head>  using (  CTRL + F  )   .
         *  Copy and paste the below code just above </head>   
         *  And save the template   .              



    <!--Remove this if you are already using any jQuery.js file--> <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js' type='text/javascript'></script> <!--End--> <script type="text/javascript"> jQuery(document).ready(function () { jQuery('a[href*="http://"]:not
    ([href*="http://www.hugestreet.blogspot.com"])').attr('rel', 'nofollow'); jQuery('a[href*="https://"]:not(
    [href*="http://www.hugestreet.blogspot.com"])')
    .attr("target", "_blank"); }); </script>


    * Replace hugestreet.blogspot.com with your blog and site name .

    3. Alt and Title tag automatically An alt tag is an attribute which tells the Search Engine spider or crawler that what is your blog about .

      How to /
       *   In , blog template editor , search for </body>  
       *   Copy and Paste the below code just before </body> tag . and then save the template .

      <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/> <script type='text/javascript'> //<![CDATA[$(document).ready(function() {$('img').each(function(){ var $img = $(this); var filename = $img.attr('src')$img.attr('title', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));$img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.'))); }); });//]]> </script>



      4. Blog Posts title optimized Blog post title play a most important role for Search engine optimization .

      Updated (12/02/2015) 
      What's New : - Page 404 Not found Blog title , Blog title with a short description only shown in Blog homepage , only Blog name ( e.g. Hugestreet ) will be shown after post title .

       How to /
      *     In , blogger template editor , Search for   <title><data:blog.pageTitle/></title> . Just Replace the below code with it , 


        <b:if cond='data:blog.url == data:blog.homepageUrl'>
        <title> Hugestreet - Howto Guides &amp; Software Tutorials </title>
        </b:if>
        <title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
        <data:blog.pageTitle/>
        <b:else/>
        <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
        <data:blog.pageName/> | <data:blog.title/>
        <b:else/>
        Page not found | <data:blog.title/>
        </b:if>
        </b:if>
        </title>


        Note : Replace My Blog name with short description with your Blog name and a short description .

        reactions

        Comments