1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible to block visitors from America without blocking google?

Discussion in 'BlackHat Lounge' started by syek1, Feb 21, 2012.

  1. syek1

    syek1 Regular Member

    Joined:
    Mar 30, 2010
    Messages:
    247
    Likes Received:
    132
    Location:
    South africa
    For certain reasons i want to block visitors from America to one of my sites. I previously tried doing this by blocking the range of ip's but that seemed to also block Google which then made my site disappear from the serps.

    Does anyone know how i can do this while still allowing Google to access my site and keep it indexed.

    Its quite urgent and important, any advice will be appreciated
     
  2. youngguy

    youngguy Senior Member

    Joined:
    Apr 11, 2009
    Messages:
    1,053
    Likes Received:
    1,560
    Location:
    Hell
    Check User-Agent, do not block visitors with User-Agent contains "google bot"
     
  3. syek1

    syek1 Regular Member

    Joined:
    Mar 30, 2010
    Messages:
    247
    Likes Received:
    132
    Location:
    South africa
    Can you explain more please? sorry im a bit confused lol:rolleyes: