Prevent your blogger blog from Redirecting County specific domains

How to prevent Auto redirect to country-specific domains on blogger

Google now redirects Blogger blogs to country-specific domains. For instance, if you open example.blogspot.com in your web browser, you will be redirected to example.blogspot.in if you are located in India or to example.blogspot.co.uk if you are accessing the blog from UK.
Trickspro Image

Prevent Blogger from Redirecting to Country-Specific Domains

This country based URL redirection is likely to impact your Blogger blogs in a not so positive manner. For example:
  1. The social stats – like your Facebook Likes, Google +1s and Tweet counts – for your blog posts may be reduced as the URLs for the same blog post will be different for different visitors.
  2. You will have a similar problem if you are using an external commenting platform like Disqus or Facebook Comments because the blog URLs will be different even when the underlying page is the same.
  3. Also, if canonicalization isn’t implemented properly, it may cost you some Google juice as external websites may link to your country-specific pages.
  4. Some users have reported a dip in Google AdSense earnings when pages are served through country-specific domains.
If you are not happy with the idea of Blogger redirecting your blog to a different URL, you can add the following piece of code to your Blogger template and it will always serve the .com address to your visitors irrespective of their geographic location.
Go to your blog inside the Blogger Dashboard and choose Template. Then click the “Edit HTML” button followed by “Proceed.” Next, copy-paste the following code into the template after the <head> tag.

  1. <script type="text/javascript">

  2.  

  3. // Written by Gabriel Chaves


  4. /* Get the full URL of the current blogger page */

  5. var blog = document.location.href.toLowerCase();

  6.  

  7. /* Do not redirect if the domain is .com already */

  8. if (!blog.match(/.blogspot.com/)) {

  9.  

  10. /* Replace the country TLD with .com and ncr switch */

  11. blog = blog.replace(/.blogspot..*?//, ".blogspot.com/ncr/");

  12.  

  13. /* Redirect to the new .com URL in the current tab */

  14. window.location.replace(blog);

  15. }

  16.  

  17. // Source: http://labnol.org/?p=21031


  18. </script>


Click the Save Template button and now your Blogger Blog will always serve with the blogspot.com URL.
The JavaScript snippet gets the URL of the current Blogger page and if it isn’t served from the .com domain, the code replaces the country specific TLD (like blogspot.co.au or blogspot.pk) with the blogspot.com URL. It also adds the /ncr switch to force-redirect the visitor to the blogspot.com address

Comments

  1. Do ATM Hacking Exist ?
    Yes, you can actually hack an atm and make it dispense free money but not with any trick like:
    ATM HACKING USING CANDLE WAX,HACKING ATM WITH USB,ATM HACKING USING IPHONE OR SAMSUNG GALAXY,ATM HACKING USING SIM CARD. ATM hacking does not involve any master passwords or hack codes.
    THE REAL ATM HACKING GUIDE.
    Now you might be wondering what’s the working method to hack atm. I will be explaining briefly on how an atm machine can be hacked but this is not for dummies. So at the end of this post you should decide whether to buy our blank atm cards or do the hack yourself.
    ATM hacking can be achieved using skimmers(atm keypad) which is mostly undetected. It is installed secretly on the atm and it will grab your card data once you slot in your card and enter your pin.
    Once the hacker has this data, your atm card can be cloned using a writer (MRS606) and some software.
    ATM HACKING- The blank atm card
    Blank atm cards with writer (mrs606)
    embossed atm cards
    If you want to do this on your own, it’s risky for a newbie. Think about the security camera on the atm and beside you haven’t done this before.
    OUR SERVICES
    We are a professional carding team with a large ring around the globe. With over 2 million ATM infected with our malware and skimmers, we can grab bank card data which include the track 1 and track 2 with the card pin. We in turn clone this cards using the grabbed data into real ATM cards which can be used to withdraw at the ATM or swipe at stores and POS. We sell this cards to all our customers and interested buyers worldwide, the card has a daily withdrawal limit of $2500 on ATM and up to $50,000 spending limit on in stores.
    Here is our price lists for the ATM CARDS :
    BALANCE: PRICE
    $10,000: $980
    $20,000: $1830
    $35,000: $2850
    $50,000: $4960
    $100,000: $9800
    The prices include the shipping fees and charges, order now: Contact us: atm.h@hackermail.com or atmhacking01@gmail.com
    FREQUENTLY ASKED QUESTIONS (FAQ)
    On the course of rendering this services, we have come across so many clients with different questions so this is aimed at answering few questions you might have:
    1: Are you selling money?
    No, we are not selling money. If you read our post correctly you will understand how this whole thing works.
    2: Is this service available for my country?
    Yes, our services are available worldwide
    3: How do i get my card after payments?
    We ship via DHL, standard shipping usually takes 7 days. All we need is your full name and address
    Order now, contact us with: atm.h@hackermail.com or atmhacking01@gmail.com

    ReplyDelete

Post a Comment

Popular posts from this blog

Programmers discuss about the unethical and illegal things they have been asked to do

Top 10 Killer Tips to Improve Page Rank

Free Netflix premium account generator 2017