Thursday, 28 January 2016

Tutorial : How to Disable Country Specific Domain Redirection in Blogger

Assalamualaikum 
on my previous entry, i already mention that i'll write a tutorial on how to disable country specific domain redirection in blogger. as u can see, most of blogger's blog are redirected from yourblog.blogspot.com to yourblog.blogspot,my so, this tutorial is to disable the redirection then it still remain blogspot.com


actually, blogger decreases in follower does not related to this changes. you can read here http://buzz.blogger.com/2015/12/an-update-on-google-friend-connect.htm, blogger.com are removing NON-GOOGLE accounts in your follower gadget or  'google friend connect'. for details, before, we can follow blogs using twitter, orkut, blogger account and others account but for now, only for GOOGLE account. so, now, they removing those who followed our blog using others account except for google account. im also having decreasing in follower from 2268 - 2211 HAHAHHAHA. 

then, the solution for u to keep update with my blog dear virtual friends of mine,
hit the 'join this site' button, please login to your google account and re-follow my blog. hehehhee. *just in case*

okay, lets back to our main topic!
Tutorial : How to Disable Country Specific Domain Redirection in Blogger

go to dashboard > template > edit HTML > ctrl F and find <head> 

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

copu and paste the code, BELOW the <head> code,
preview, if no error, SAVE.

done. :) thanks for mybloggerbuzz for the tutorial :)

sekian, ilal liqa'


14 comments:

  1. boleh buat try and error berkaitan dengan domain redirection...

    ReplyDelete
  2. Kita bookmarked dulu supaya senang nanti nak tukar :D

    ReplyDelete
  3. COOL !!! Haha seriously this one means a lot! Thank you so much BV! because .com It's kind of commercialised . Arround the world will visit your blog without a doubt . cewah ! . haha Thank you !!!!

    ReplyDelete
  4. Dah okayyyyyyyyy! Thank you so muchhhhhh! ><

    ReplyDelete
  5. masa nak aktif blogging balik dulu terkejut gak tengok ada domain Malaysia :)

    ReplyDelete
  6. aah la.. bv punya still .com .. nice tutorial bv :)

    ReplyDelete
  7. thanks for tutor tapi Ieyra punya tak dapat save. Preview jadik je. :( Macam mana ek?

    ReplyDelete
  8. thansks for sharing

    <a href="http://www.boggerbuzz.net'>Blpgger buzz </a>

    ReplyDelete

drop a comment~
arigatouuu!