View Single Post
Old 02-01-2005, 11:14 AM  
A C
Confirmed User
 
Join Date: Dec 2002
Location: Im here, and there
Posts: 1,637
Quote:
Originally Posted by psyko514
Something like this would work:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.yourdomain.com/hotlink.jpg [R,NC]

Basically, if any domain other than yours attempts to display an image, it'll be replaced with hotlink.jpg (which can be a ******* pic, for example).

need it to redirect the persons page to page.html not jsut change the image ;)

AC
A C is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote