How To Override Blogger Country Specific Blogspot URLs


A few months back Blogger introduced a system were by Blogs using the blogspot sub domain would redirect to a country code Top Leval Domain (ccTLD) depending on which country a visitor viewed the blog from.

Confused ?

No need to be, basically all blogger blogs using the free blogspot domain have always been blogspot.com.So when you create your blog the URL would be for examplemyblog.blogspot.com and everyone who visited would be onmyblog.blogspot.com.

Now for some reason Blogger have changed this.

When a visitor lands on your blog the domain will change depending on the country they are in.So I'm in Ireland; now every time I visit a blog the domain will not be .com but .ie (The ccTLD For Ireland).So our example blog when I visit here in Ireland will be myblog.blogspot.ie, and if someone from lets say India visits it will be myblog.blogspot.in.

The list goes on, people in the UK will see myblog.blogspot.co.uk and in France they seemyblog.blogspot.fr.Remember if your in the USA you will have been totally oblivious to this change as you will always be seeing .com, but others are seeing your blog differently.

Personally I think it would be a great if they gave you the option to use a country code domain but to just automatically do it is strange to say the least.

Override Blogger Country Specific Domain


OK, if you don't want your blog to be viewed differently in every country but rather use the .com URL at all times we have a fix.By adding a snippet of code to your template you can override the country specific domain.This code is the most straight forward and comes fromAmit Agarwal @labnol.org.Follow these steps :

Remember Always Back Up Your Template Before You Make Changes - How To Back Up A Blogger Template 

Step 1. In Your (New Design) Blogger Dashboard Click The Drop Down Menu For Your Blog > Choose Template > Then Edit Html > Now Proceed as shown in the video Below :

Step 2. Find the following piece of code in your blogs Html : (Click Ctrl and F for a search bar to help find the code - How To Find Code In Blogger Template Template
<head>

Step 3. Copy and Paste the following code Directly Below / After <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>

Now save your template and your done, your blog will always be viewed as dot com.

Top 5 Free SEO Friendly Blogger Themes

Blogger is another biggest blogging platform after WordPress. Many bloggers blogs on Blogger blogspot to make money, sharing experience and so on. For the professional blogging, you must useSEO friendly template which helps you to bring more traffic and more income to your blog. I’ve got some few SEO friendly, adsense ready and professional Blogger templates.

And here are they:

Thesis Blogger Template

Thesis Blogger template is the most used template in 2011. Originally, Thesis is WordPress theme and converted to Blogger template by Hack Tutors.

Platinum Blogger Template

Platinum is clean looking Blogger template which can be used for any niche.

Flash News Blogger Template

Flash news contains 2 column and and featured post widget ready on the top. It can be used if you blog is related to technology and news.

Social Eyes Blogger Template

Recently, Hack Tutors released Social Eyes Blogger template which is awesome!

Blogussion Blogger Template

Blogussion is originally converted into Blogger template by Suraz from HackTweaks.com
These all Blogger template sare popular and SEO optimized which helps you to get more traffic and visitors to your blog. Surely, your visitors will return back by using such Blogger Templates.