![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
|
![]() Hi
I need to redirect traffic coming from certain domains like fusker.com, both clicked traffic and hotlinking images. Any help appreciated - I couldnt get it to work properly. ![]() Thanks bros
__________________
ICQ :333-548-380 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Sep 2003
Location: Icq: 216037845
Posts: 1,137
|
http://www.htmlbasix.com/disablehotlinking.shtml
I use that htaccess code generator and it works fine |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
|
Yes I know that but it doesnt fit my needs now
I dont want to specify urls to allow to hotlink but urls to DISallow to hotlink And also I need to redirect clicked traffic when a surfer clicks a link on certain domains
__________________
ICQ :333-548-380 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Sep 2003
Posts: 178
|
For the image hotlink, use this:
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC] RewriteRule \.(gif|jpg)$ - [F] To redirect the traffic: RewriteEngine On RewriteCond %{HTTP_REFERER} http://www.fusker.com/ [OR] RewriteCond %{HTTP_REFERER} http://www.hotlink.com/ RewriteRule /* http://www.yourdomain.com/fuckinghotlinker.html [R,L] Add as many line as you want for HTTP_REFERER. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
|
Thanks Venus
![]()
__________________
ICQ :333-548-380 |
![]() |
![]() ![]() ![]() ![]() ![]() |