View Single Post
Old 05-05-2005, 02:12 PM  
alexg
IL4L.com
 
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
Quote:
Originally Posted by AdultNex
Save yourself money and redirect the Google image searches.
how do you do this?

i tried putting this code in the htaccess file:

Options -Indexes

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://name.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://name.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.name.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.name.com$ [NC]
RewriteCond %{REQUEST_URI} !^/IMAGENAME\.gif[NC]
RewriteCond %{REQUEST_URI} !^/images/IMAGENAME\.jpg[NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]


ErrorDocument 302 http://www.name.com
ErrorDocument 400 http://www.name.com
ErrorDocument 401 http://www.name.com
ErrorDocument 403 http://www.name.com
ErrorDocument 404 http://www.name.com
ErrorDocument 408 http://www.name.com
ErrorDocument 500 http://www.name.com

but it doesn't seem to redirect for me
alexg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote