How to get rid of referrers from unwanted site?

RTFVerterra's picture

He has: 109 posts

Joined: Dec 2008

My statistics shows some referrers from gambling site, site selling viagra, etc. The number of hits are about 1 to 4 per site in every 3 days. How to get rid of them? Are they real human or robots trying to do deliver unwanted scripts? Additional info are much appreciated.

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

It's just referrer spam. This cheat sheet shows how you can use mod_rewrite to block it.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.