Organizational Research By

Surprising Reserch Topic

Question:how to ban site referrer using .htaccess?


 

## SITE REFERRER BANNING
RewriteEngine on
# Options +FollowSymlinks
 
RewriteCond %{HTTP_REFERER} badsite\.com [NC,OR]
RewriteCond %{HTTP_REFERER} badsite\. [NC,OR]
RewriteCond %{HTTP_REFERER} sub\.badsite\.com [NC]
RewriteRule .* - [F]
 

asked Sep 13, 2013 in htaccess by ashish singh
edited Sep 12, 2013
0 votes
12 views



Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

...