View Single Post
Old 05-25-2005, 11:58 AM  
joechip
Registered User
 
Join Date: Apr 2003
Posts: 27
Quote:
Originally Posted by sixxxthsense
I've enable hotlink protection on all my sites, now how do I allow google to hotlink images from my site. For example when doing an image search, I want them to cache my images.

Will this code work???
Code:
RewriteCond %{HTTP_REFERER} !^http://.*google.([^/]+)/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://.*google.([^/]+)$ 	[NC]
Google Images doesn't hotlink your thumbnails, so you can still get a thumbnail linked to your gallery or whatever on the image search without letting them hotlink to your pics.
joechip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote