Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2003-10-15, 02:40 PM   #1
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:22 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc