Country Specific Url te .com a redirect na di

wallpaper
/
/blogger te ad'n
Blogspot blog a na url/address gamtuam a om te hn veh le uh le .com redirect di na deih le a nuai a script na xml sung a <head> nuai chet a guang le chin
----------------------------------------------------------------------
<script type='text/javascript'>
// country specific url link te .com a redirect na script ahi
/* current blog url link a full a lak na varable */
var blog = document.location.href.toLowerCase();
/* Domain, .com a omsa ahih le redirct louh na di */
if (!blog.match(/\.blogspot\.com/)) {
/* Country TLD te redirect na di */
blog = blog.replace(/\.blogspot\..*?\//, &quot;.blogspot.com/ncr/&quot;);
/* tua tab pen a url thak pen .com a khek na */
window.location.replace(blog);
}
// blogspot adi chauh ahi
</script>
-------------------------------------------------------------------------
suppose na blog url xyz.blogspot.com hi ta eih chu, hilele na lut chiang a xyz.blogspot.in hn chi di.. UK apat lut le chi xyz.blogspot.co.uk , pakistan apat lut le chin xyz.blogspot.pk chih dan amau country specific url na blog url domain suak zel..
Tu'n a tung a script pen na <head> nuai a guang le chin xyz.blogspot.com ngen a hn pai di.. . .in . .co.uk or .pk a last na ah type tei2 le chin le .com a hon ki rediret di..




The Author

C Jambiakmuan is a Delhi based young and dynamic blogger from Zogam