![]() |
Need a code to block hotlinking from google images
I tried htaccess codes that i used in my other sites for blocking hotlinking to my gallery pictures, but none of them seem to work for blocking google images hotlinking.
I need a code that will redirect surfers who click the "click here to view full image" button in the google images frame on top. anyone have such working code? I would appreciate it. |
They load your site in a frame. At least that is how it looks to me. It is traffic why throw it away?
|
what I did, but I didn't have 1,000's of them.
Left the thumbs, made some htm's with the name of the pic's and renamed them .jpg's. Made 5 htm's then just kept copying them over to the folder and renaming them until I had like 20 of'm then it pretty fast doing 20 at a time, but like I said I 100's not 1,000's I couldn't stop them either from hotlinking either |
Quote:
|
Not for my site. they see the page.
|
correction: they see the whole page and if they go to enlarge just the image my hot link protection hits it. :)
|
Im pretty sure you can prevent google images by using robots.txt
why block it? I love this traffic, its all I work at doing anymore, but then again I learned how to convert it... :winkwink: |
try putting this code in the file .htaccess file in your domain's root directory:
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_REFERER} ^http://images.google.com.*$ RewriteRule ^.*$ http://www.yourdomain.com/ |
to prevent googlebot from indexing your images, put this in your /robots.txt
User-agent: Googlebot-Images Disallow: / that should work. |
Quote:
|
Quote:
i just want to redirect the surfers who chose to enlarge my pic to another place |
Quote:
but now it redirects all the surfers from google images.. not just those who chose to enlarge the picture.. i'm not sure if that's a good idea to redirect them all in case i redirect directly to a sponsor |
Quote:
can it hurt your rating eventually? |
I would make sure that the page ur image/images are displayed on, are properly setup with links to the sponsor.. 9 times out of 10, when they view the full image, they're really interested in that (girl, site, niche etc). Can convert real well if u setup your site/pages right :thumbsup
|
Quote:
|
All times are GMT -7. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123