LauraPresta Posted September 4, 2015 Share Posted September 4, 2015 i have identified wierd "Russian visitors" coming from some wierd site like "traffic2money" and others. Is there a way to block them from seeing the site ? It would be something like referral site blocking ? (not ip banning) Link to comment Share on other sites More sharing options...
musicmaster Posted September 5, 2015 Share Posted September 5, 2015 You could try to add the following code in your config.inc.php file somewhere near the beginning. It is pseudocode so please customize it for your situation. $referrer = $_SERVER['HTTP_REFERER']; if($referrer == "http://www.badrussian.ru/") { header('Location: http://www.disney.com/'); } 1 Link to comment Share on other sites More sharing options...
LauraPresta Posted September 5, 2015 Author Share Posted September 5, 2015 Ahah nice, disney.com i will try it. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now