
Ikuti langkah-langkah seperti yang dinyatakan seperti di bawah. Tetapi jangan lupa bahawa html code sebelum ini haruslah dihapuskan terlebih dahulu sebelum memasukkan html code yang baru.
1. Open Template >> Edit HTML >> edit template
2. Kemudian cari code <head>
3. Salin html code seperti dibawah. [Rujuk]
<script type='text/javascript'>
// Written by Amit Agarwal
/* Get the full URL of the current blogger page */
var blog = document.location.href.toLowerCase();
/* Do not redirect if the domain is .com already */
if (!blog.match(/\.blogspot\.com/)) {
/* Replace the country TLD with .com and ncr switch */
blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");
/* Redirect to the new .com URL in the current tab */
window.location.replace(blog);
}
// Source: http://labnol.org/?p=21031
</script>
// Written by Amit Agarwal
/* Get the full URL of the current blogger page */
var blog = document.location.href.toLowerCase();
/* Do not redirect if the domain is .com already */
if (!blog.match(/\.blogspot\.com/)) {
/* Replace the country TLD with .com and ncr switch */
blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");
/* Redirect to the new .com URL in the current tab */
window.location.replace(blog);
}
// Source: http://labnol.org/?p=21031
</script>
4. Save template. Lihat hasilnya.
Setakat ini html code ini yang saya gunakan dan telah berjaya mengekalkan domain blog Bila Lelaki Berbicara tetap kepada blogspot.com. Anda boleh mencubanya. Jika suka kepada domain .my boleh abaikan html code ini. Sumber html code ini boleh lihat [Rujuk]
Setakat ini html code ini yang saya gunakan dan telah berjaya mengekalkan domain blog Bila Lelaki Berbicara tetap kepada blogspot.com. Anda boleh mencubanya. Jika suka kepada domain .my boleh abaikan html code ini. Sumber html code ini boleh lihat [Rujuk]
Alhamdulillah berjaya guna kod yang ni.Kod alihan sebelumnya tak support.
ReplyDeleteAmin... Alhamdulillah... Tahniah kerana berjaya...
Delete