View Full Version : Hotlinker Block?
fetish1
10-12-2003, 05:30 PM
Can someone please post the htaccess code that I need to redirect a particular domain to a page I WANT them to go to in a directory they are hotlinking pics from? Hope that makes sense!
fetish1
10-15-2003, 01:33 PM
Hmmmm, ok trying this again. Can someone PLEASE tell me how to redirect a particular domain in my htaccess to a page I want to send them to if they are hotlinking? I don't want them to go to the regular index page that my htaccess is set for...I want to send them to a hell page and I know that someone mentioned ages ago being able to redirect a particular domain to a different page.
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-links/webmaster-help.html
fetish1
10-15-2003, 02:46 PM
urb,
You are wonderful! That's exactly what I want! Thanks for the help |bananna|
fetish1 :)
You see folks, I don't always scare people into deleting whole threads.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.