Can i prevent my site not to show from my own country?

Discussion in 'AdSense' started by mj2, Jul 26, 2007.

  1. #1
    hello experts.... can i prevent my site from showing it on my own country ip? i.e if it will be opened in my won country it will display a blank page or something else... i dont want my site to be displayed in my own country.. i have a lot of friends that knows my site i want to prevent them from clicking my ads so that i will not be baned :( ... i'm afraid coz sometimes they will send me some jokes that they click and click my ads.. but what if its true? please help..


    thanks.
     
    mj2, Jul 26, 2007 IP
  2. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #2
    block IP range of your country in htaccess file
     
    godmode, Jul 26, 2007 IP
  3. sahilcoolsmart

    sahilcoolsmart Well-Known Member

    Messages:
    1,192
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Just block the ads in your IP range. Don't block the site.
     
    sahilcoolsmart, Jul 26, 2007 IP
  4. mj2

    mj2 Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the info... how could i know ip rage of my country? sorry i dont know about this i'm not programmer too.. :(
     
    mj2, Jul 26, 2007 IP
  5. DarkX

    DarkX Peon

    Messages:
    2,128
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #5
    DarkX, Jul 26, 2007 IP
  6. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #6
    how can you possible just block ads based on IP range? I dont get that point maybe you can elaborate.

    This could be possible if you are running openads or some properitary service to manage ads or else it looks out of scope.
     
    godmode, Jul 26, 2007 IP
  7. DarkX

    DarkX Peon

    Messages:
    2,128
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I think he asked "how to block a country from accessing the site" not only ads

    DarkX
     
    DarkX, Jul 26, 2007 IP
  8. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #8
    Dark X, i already answered that question but sahil told him to just block ads..so am asking him how to :D

    Read the full thread before asking:p lol. however your link was helpful thanks for that:D
     
    godmode, Jul 26, 2007 IP
  9. DarkX

    DarkX Peon

    Messages:
    2,128
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I was even not able to see if anyone else posted in this thread except you & mj2 :eek::eek:
    OOPS ! sorry

    DarkX
     
    DarkX, Jul 26, 2007 IP
  10. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #10
    your can block your country ip ranges but you will not be able to see own ads too
     
    trichnosis, Jul 26, 2007 IP
  11. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Block ur countries ip range but u will get banned too
     
    PowerExtreme, Jul 27, 2007 IP
  12. Fisker

    Fisker Well-Known Member

    Messages:
    1,857
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    175
    #12
    But what interests me more is why do u want to do such a thing?:eek:
     
    Fisker, Jul 27, 2007 IP
  13. spidro

    spidro Well-Known Member

    Messages:
    877
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #13
    may be there is some people in his country that clicks bombs adsense ads
    i used to hv this problem before and i had to block some ISP ip rang and singles ips not the whole country
     
    spidro, Jul 27, 2007 IP
  14. mj2

    mj2 Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14

    Thanks for all of you guys... yeah maybe i have to block only ISP ip range i dont want to banned with adsense. can i ask where should i placed the .htaccess code? i'm not familiar on it. is it a php code? i dont have idea i dont have much knowledge in IT. Anyone can give me a code? and i'll just copy it and save to what folder it will be saved?


    just additional question.. if they used proxy can they view the site?
     
    mj2, Jul 27, 2007 IP
  15. vipin_lalla

    vipin_lalla Banned

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    use .htaccess file block all the ip ranges
     
    vipin_lalla, Jul 28, 2007 IP