Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Hotlinker Block? (http://www.greenguysboard.com/board/showthread.php?t=1480)

fetish1 2003-10-12 05:30 PM

Hotlinker Block?
 
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 2003-10-15 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.

urb 2003-10-15 02:40 PM

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


fetish1 2003-10-15 02:46 PM

urb,

You are wonderful! That's exactly what I want! Thanks for the help |bananna|

urb 2003-10-15 02:49 PM

fetish1 :)



You see folks, I don't always scare people into deleting whole threads.


All times are GMT -4. The time now is 12:47 PM.

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