Bitcoin Forum
May 21, 2024, 06:24:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: block visitors by country  (Read 278 times)
datalore (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
June 13, 2016, 05:47:09 PM
 #1

I identified that 90% of bots access comes from russia, as I lock the country by .htaccess?
vodaljepa
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
June 13, 2016, 05:53:52 PM
 #2

I identified that 90% of bots access comes from russia, as I lock the country by .htaccess?

Get cloudflare for free, I will give you a code only 3 lines you have to add in the header section and it will block any country you pick

Hottest Girls On Webcam Naked - Naughty Cams
datalore (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
June 13, 2016, 05:55:01 PM
 #3

I identified that 90% of bots access comes from russia, as I lock the country by .htaccess?

Get cloudflare for free, I will give you a code only 3 lines you have to add in the header section and it will block any country you pick

I will not have problems with google adsense?
vodaljepa
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
June 13, 2016, 05:56:27 PM
 #4

Nope adsense works fine with cloudflare

Ps. If anyone is using cloudflare and wants to ban any country add this code to the header section

Code:
<?php

if($_SERVER["HTTP_CF_IPCOUNTRY"] == "countryid" OR $_SERVER["HTTP_CF_IPCOUNTRY"] == "countryid") {

exit(
"Harder to recover from.");

}

?>

for countryid change it to RU for russia

Hottest Girls On Webcam Naked - Naughty Cams
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!