How to blog remains addressable blogspot.com?
Myhistorytodays,Tutorial We often encounter a blog url will be changing in certain countries membukannya. To my friends who put adsense on his blog this is certainly something that is disturbing, because it will come a lot url domian on adsense report.
For that it must be prevented. and indeed can be prevented so that we teteap berlamat blog on blogspot.com. This is her step:
1. Open the Edit Template
2. Place this script just below the code Head
3. On <Head>
<Script type = "text / javascript"> var blog = document.location.hostname; var slug = document.location.pathname; var ctld = blog.substr (blog.lastIndexOf (".")); if (ctld! = ".com") {var ncr = "http: //" + blog.substr (0, blog.indexOf (".")); ncr + = ".blogspot.com / ncr" + slug; window.location.replace (ncr); } </ Script>
3. Save Template
please try to open your blog. Url blog will still be blogspot.com