Headlines News :
Home » , » To make SEO Friendly Blog Template by applying techniques autolink code

To make SEO Friendly Blog Template by applying techniques autolink code

Written By Unknown on Friday, 5 July 2013 | 04:07

Step by step tutorial to edit template blogger / blogspot SEO Friendly so this is just one way to improve search enggine SERP in google, just go ahead. Cekdiot
  1. The first step, login to blogger.com and then to design (draft).
  2. Towards edit html tab. Press ctrl + f on your keyboard. And look for the code </ body>
  3. See the script code :
  4. <b:if cond='data:blog.url != data:blog.homepageUrl'><script type='text/javascript'>
    function autoLink(){
        this.keywdHref = new Object();
        this.add = function(keyword, href){
            if(keyword.substr(0,1) != &quot; &quot;){keyword = &quot; &quot; + keyword;}
            this.keywdHref[keyword] =  href;
        }
        this.createAnchor = function(){
            var objs = document.getElementsByTagName(&quot;div&quot;);
            for(var i=0; i&lt;objs.length; i++){
                var obj = objs[i];
                if(obj.className.indexOf(&quot;post-body&quot;)&gt;-1){
                    var content = obj.innerHTML;
                    for(var keyword in this.keywdHref){
                        var href = this.keywdHref[keyword];
                        var newstr = content.replace(keyword, &quot;&lt;a href=&#39;&quot;+href+&quot;&#39;&gt;&quot;+keyword+&quot;&lt;/a&gt;&quot;, &quot;gi&quot;);
                        obj.innerHTML = newstr;
                        content = newstr;
                    }
                }
            }
        }
        this.startScript = function(){
            var onLoad = window.onload;
            window.onload = function(){
                if(onLoad){onLoad();}
                setTimeout(&quot;f.createAnchor()&quot;, 100);
            }
        }
    }
    </script>
    <script type='text/javascript'>
    var f = new autoLink();
    f.add(&quot;SEO&quot;, &quot;http://tiloejungle.blogspot.com//&quot;);
    f.startScript();
    </script></b:if>
  5. Once the page is open please copy and paste the script all the code in the script code right above the </ body>

Description:
  1. See the very end of the code and replace it with the word SEO or select your keywords.
  2. Replace the address below http://tiloejungle.blogspot.com/ destination url.

Good luck!


I just ordinary blogger who love to learn and share knowledge and experience with others. Thanks a lot to the blog Indonesian-Herbal, this blog may also be useful for people in need. Please enter your email in the box below to get updates from this blog article. Greetings!.


Your information will not be shared. Ever.
Share this post :
 
Special Thanks To : Obat Indonesia | Johny Template | Mas Template
Copyright © 2013. T11U (Tiloe Jungle) Medicinal Herbal! - All Rights Reserved
Template modif by Jasa Website Pangkalpinang Published by T11U
Proudly powered by Blogger
Join us on Facebook Follow us on Twitter Add us on G+ Subscribe to RSS