If you don't want your blog to be redirected to your country specific location and want to keep it as default .com extension, then you need to place a piece of code in your template HTML to stop the redirection.
1. Go To Your Blogger Dashboard.
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
1. Go To Your Blogger Dashboard.
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
1. Go To Your Blogger Dashboard.
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
1. Go to Blogger dashboard
2. Click on Template
3. Click on Edit HTML
4. Press Ctrl + F and find <head>
5. Copy and paste the below code right after the <head> tag.
1. Go To Your Blogger Dashboard.
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
1. Go To Your Blogger Dashboard.
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
1. Go To Your Blogger Dashboard.
2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
Here's the code:2. Click On Template.
3. Then Click On Edit Html.
4. Press CTRL+F And Find </head>
5. Copy The Given Script And Paste It Before </head> Tag. - See more at: http://nannodesign.blogspot.in/2013/05/how-to-redirect-blogspotin-to.html#sthash.XfCkbr0h.dpuf
<script type="text/javascript">
var blog = document.location.hostname.split(".");
if (blog[blog.length - 1] != "com") {
var ncr = "http://" + blog[0] + ".blogspot.com/ncr";
window.location.replace(ncr + document.location.pathname);
}
</script>
Now click on Save Template and now your Blogger Blog will automatically redirects to the blogspot.com extension.
That's it!
- Code Source
No comments:
Post a Comment