View Single Post
Old 2003-10-15, 02:40 PM   #3
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
This code is designed to redirect from any given domain.....


RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} ^.*badsite1.*$ [OR]
RewriteCond %{HTTP_REFERER} ^.*badword.*$
RewriteRule /* http://www.yoursite.com/fucking-hell/ [R,L]

Please notice that it will pick up badsite1.org, badsite1.net, badsite1.com or even a file called badsite1.html ...... so be careful how you use this.

For example do not include "goog" or you will redirect all your Google traffic.

~~~~~~~~~~~~~~~~~~~~~~~~~

If this is not doing it you need a straight forward .htaccess jpg/gif protection .... see http://www.cleosxxxlinks.com/adult-l...ster-help.html


Last edited by urb; 2003-10-15 at 02:43 PM..
urb is offline   Reply With Quote