Hi all,
i m using this code to redirect blogspot.in into blogspot.com
<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>
But is this right?
Can google give some bad effects?
0 • •
Answers
- Spam
- Abuse
- Troll
2 • Off Topic Disagree 1Agree 1Like •- Spam
- Abuse
- Troll
0 • Off Topic Disagree Agree Like •- Spam
- Abuse
- Troll
0 • Off Topic Disagree Agree Like •