GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need a code to block hotlinking from google images (https://gfy.com/showthread.php?t=467112)

alexg 05-13-2005 02:35 PM

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.

slapass 05-13-2005 02:46 PM

They load your site in a frame. At least that is how it looks to me. It is traffic why throw it away?

jimmyf 05-13-2005 02:46 PM

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

jimmyf 05-13-2005 02:48 PM

Quote:

Originally Posted by slapass
They load your site in a frame. At least that is how it looks to me. It is traffic why throw it away?

it's a B/W burner, they just see the .jpg not a page

slapass 05-13-2005 02:54 PM

Not for my site. they see the page.

slapass 05-13-2005 02:56 PM

correction: they see the whole page and if they go to enlarge just the image my hot link protection hits it. :)

teksonline 05-13-2005 02:58 PM

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:

MattK 05-13-2005 03:00 PM

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/

mlove 05-13-2005 03:03 PM

to prevent googlebot from indexing your images, put this in your /robots.txt

User-agent: Googlebot-Images
Disallow: /

that should work.

alexg 05-14-2005 02:44 AM

Quote:

Originally Posted by slapass
correction: they see the whole page and if they go to enlarge just the image my hot link protection hits it. :)

well how do I do this?

alexg 05-14-2005 02:45 AM

Quote:

Originally Posted by teksonline
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:

i don't want to prevent it totally

i just want to redirect the surfers who chose to enlarge my pic to another place

alexg 05-14-2005 02:50 AM

Quote:

Originally Posted by MattK
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/

hmmm nice this code works

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

alexg 05-14-2005 02:53 AM

Quote:

Originally Posted by alexg
hmmm nice this code works

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

anyone else redirects all google images traffic directly to a sponsor?

can it hurt your rating eventually?

Jimmie 05-14-2005 02:56 AM

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

alexg 05-14-2005 02:58 AM

Quote:

Originally Posted by Jimmie
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

i did that and it converted badly


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