![]() |
I need some easy htaccess lines please
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. :helpme Thanks bros |
http://www.htmlbasix.com/disablehotlinking.shtml
I use that htaccess code generator and it works fine |
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 |
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. |
Thanks Venus :thumbsup
|
All times are GMT -7. The time now is 08:39 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123