Is there a way to redirect traffic when they click on my image on google images? Im quite crap with .htaccess Im getting a lot of hits from here... http://images.google.com/imgres?img...=/images?q=asia+girls+nude&svnum=10&hl=en&lr= Thanks! edit- How do i adjust this: RewriteEngine on RewriteCond %{REQUEST_URI} !^/ebay\.html$ RewriteCond %{HTTP_REFERER} ^http://(cgi\.)?ebay\.com [NC] RewriteRule \.html?$ /ebay.html [NC,L] For http://images.google.com ? Any ideas? Ta!
Here's a generator that will do it for you. http://www.htmlbasix.com/disablehotlinking.shtml You'll type in domains you *want* to allow to hotlink - basically your own. All others will be blocked. Hit Block Blank Referers if you want to. You can choose to type in where to direct the user instead, or an image to replace it (e.g. one that says "don't steal bandwidth.") I did a quick one for you, that allows only your domain to hotlink, blocks blank referers, and redirects them to your main page: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?daily3gp.com(/)?.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.daily3gp.com/ [R,NC]
Maybe: SetEnvIfNoCase Referer ".*images.google.*" GoogleImages order deny,allow deny from env=GoogleImages It's not a redirect but a bandwidth saver. Off topic: by the way, you probably need more space between images and the google ads.
Good luck! by the way, it's possible to also direct all image requests through a php script, too. This can be helpful if you want to hide the images true location. I wrote an article with the script included.