• Kamis, Agustus 04, 2011
  • Administrator
SEO Smart Link yaitu sebuah plugin untuk wordpress yang fungsinya mengubah setiap kata yang kita tentukan, menjadi sebuah link. Kini plugin tersebut dapat kita aplikasikan di blogspot.

Bagaimana cara kerja seo smart link untuk blogspot ini ?
Script ini akan membaca setiap kata pada setiap posting. Contohnya, jika sobat memasukkan kata "kang salman" pada script tersebut maka otomatis pada semua halaman yang terdapat kata "seo" akan di link ke alamat url yang telah kita tentukan.

Bagaimana cara memasang kode autolink ini di blogspot sobat ?
Langkah pertama :
Login ke blogger.com > Rancangan.> klik tab Edit HTML > Tekan ctrl+f di keyboard. Dan cari kode </body> 

Langkah kedua :
Simpan kode script berikut tepat diatas kode </body>                      

                         <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://www.kucoba.com/&quot;);
f.startScript();
</script></b:if>
Keterangan :
a) Lihat bagian paling akhir kode dan ganti SEO dengan kata atau kata kunci yang sobat pilih.
b) Lalu ganti http://www.kucoba.com dengan alamat url yang ingin dituju.

www.kucoba.com

Related Posts:

  • Google Tests Mobile Homepage with Places ButtonsOcimnet - Google has been pretty bullish on its local and location services and one big aspect of that is Google Places and all of the services around it. Places is becoming a huge directory of every place of interest on Eart… Read More
  • Yui Hatano Video Miyabi DownloadYui Hatano Video Miyabi Download - Penggemar bintang porno Yui Hatano (23) berdebar-debar setelah gempa berkekuatan 8,9 skala Richter (SR) dan gelombang tsunami setinggi 10 meter. Rumor kematian Hatana beredar bagaikan bola a… Read More
  • Patents and innovationThe tech world has recently seen an explosion in patent litigation, often involving low-quality software patents, which threatens to stifle innovation. Some of these lawsuits have been filed by people or companies that have n… Read More
  • Free Premium Hotfile Account 19 May 2011Ocimnet - Free Premium Hotfile Account 19 Mei 2011 HOPE YOU WILL ENJOY !HERE ARE THE LINK FOR HOTFILE PREMIUM:http://adf.ly/1Xoi8… Read More
  • Logos Total Lunar Eclipse 2011 for Google logos Doodle todayOcimnet - Logos Total Lunar Eclipse 2011 for Google logos Doodle today. A total lunar eclipse is taking place on June 15, 2011. It is the first of two such eclipses in 2011, the second occurring on December 10, 2011.This is a… Read More

BTemplates.com

Categories

Kamera CCTV Palembang

Popular Posts

Blog Archive