i have an autosurf that i have never joined as they are crap websites sending traffic to one of my websites i have tried contacting them but with no luck is there a way i can ban there domain from accessing my website via htaccess
To ban a certain domain add this line: Deny from banneddomain.com To ban a certain IP add this line: Deny from 127.128.129.130 To ban a mask of whole class C (bans 255 IPs, from 127.128.129.0 to 127.128.129.255): Deny from 127.128.129 To ban user agent pattern add this: RewriteCond %{HTTP_USER_AGENT} ^NameOfBannedUserAgentHere RewriteRule ^.* - [F,L]