logo

23 Ocak 2014 Perşembe

Blogger .com.tr Engelleme

İlk olarak blogger kumanda panelimize giriş yapıp Şablon > HTML’yi Düzenle diyoruz ve altta verdiğimiz kodu tasarımımızın <head> ve </head> kodları arasına ekliyoruz. En başa eklemenizi öneririm.


Kod:

<script type='text/javascript'>var str=window.location.href.toString();if(str.indexOf(&quot;.com/&quot;)==&quot;-1&quot;){var str1=str.substring(str.lastIndexOf(&quot;.blogspot.&quot;));if(str1.indexOf(&quot;/&quot;)==&quot;-1&quot;){var str2=str1}else{var str2=str1.substring(0,str1.indexOf(&quot;/&quot;)+1)}window.location.href=window.location.href.toString().replace(str2,&quot;.blogspot.com/ncr/&quot;)}</script>

Bu kodu tasarımımıza ekleyip kaydettikten sonra sitemize yeniden blogspot.com üzerinden giriş yapabileceğiz. Bu sayede Alexa ve Pagerank bilgilerimiz güncel tutulacaktır.

0 yorum:

Yorum Gönder