Help setting up .htaccess geographically to only one or two states.

Discussion in 'robots.txt' started by jayjota, Nov 14, 2008.

  1. #1
    Hello, I need help setting up .htaccess geographically to only one or two states in the USA. I have a private site that I only want certain people to view it, everyone else can get an access denied, redirect, whatever. Please help!
     
    jayjota, Nov 14, 2008 IP
  2. manish.chauhan

    manish.chauhan Well-Known Member

    Messages:
    1,682
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Could u be specific, How would you do this by robots.txt??
     
    manish.chauhan, Jan 20, 2009 IP
  3. manish.chauhan

    manish.chauhan Well-Known Member

    Messages:
    1,682
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #3
    In this condition, you have to deny all the IP adresses using htaccess file except those states' IP adresses range from where you want visitors.
     
    manish.chauhan, Jan 20, 2009 IP