If you have blog in Blogger. Then You have noticed sometime that You blog url is becoming country specific url like if your blog is opened in Australia it becomes blogspot.com.au, same way in UK, Canada and other countries. Here I tell you how can you redirect your country specific blogger url to blogspot.com permanently.
Main advantages of this country specific redirection is that if your blog or any page from your blog is blocked by Google in a specific country then your blog or blocked pages are in continuous open in all country.
Disadvantages of your country specific url is that you can decrese your page rank as well as alexa rank. Alexa shows different ranks or results for your blog in all country specific url. When you are redirect you blog parmenently to blogspot.com then your page rank and alexa rank will be increased.
Here are Steps for that. Just follow them.
1. Go To Your Blogger Dashboard
2. Click on Template
3. Click on Edit HTML
4. Find </head> tag in HTML
5. Copy following code and paste it before </head> tag
6. Click on Save Button<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>
Congratulations your blog is permanently redirect to blogspot.com
If you like this post share it and if you face any problem comment below.
No comments:
Post a Comment