homepage Welcome to WebmasterWorld Guest from 23.22.97.26
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Google images & Hotlinking
rjwmotor




msg:758234
 2:47 am on Jul 6, 2006 (gmt 0)

I've recently enabled hotlink protection on one of sites due to people using them on "therespace". Google has alot of my images in there index and I'd like to keep them there. I do get quite a few referrals from them. Is using hotlink protection bad in terms of G images? Will this erase all the exisiting pics in G?

 

rjwmotor




msg:758235
 3:55 am on Jul 6, 2006 (gmt 0)

I've actually changed my mind, is there some code I can use to prevent "therespace" from hotlinking? I don't mind potential customers from using them in forums.

abates




msg:758236
 4:21 am on Jul 6, 2006 (gmt 0)

I've been using hotlink protection for years and Google still has my images listed...

jomaxx




msg:758237
 5:00 am on Jul 6, 2006 (gmt 0)

Yes you can disable hotlinking by domain, and that's exactly what I have done because of that particular site. You need to include a check of HTTP_REFERER in the .htaccess file logic.

Spine




msg:758238
 6:42 am on Jul 6, 2006 (gmt 0)

I've done this for the same reason "thatdamnspacefullofkids".

Re: Google images. The annoying thing is that Poogle doesn't like to index my pages properly anymore (bitten by supplemental grief lately) but they get my graphics just fine.

I guess some image traffic is better than nothing from G, but I kinda hate them all the same ;-)

rjwmotor




msg:758239
 5:14 pm on Jul 7, 2006 (gmt 0)

"You need to include a check of HTTP_REFERER in the .htaccess file logic."

Do you have a sample of how this would look in the .htaccess file?

LunaC




msg:758240
 1:46 am on Jul 8, 2006 (gmt 0)

Here's what I'm using to switch the stolen image to an advertising image:

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?spaceypeople\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?example2\.com/ [NC]
RewriteRule .*\.(jpe?g¦gif¦bmp¦png)$ /alternate-image.png [L]

That checks the referrer and if it's banned it send an alternate image. I have the alternate image in a different folder than the htaccess file protecting the rest of the images so it doesn't get blocked.

To completely block (ie, send a forbidden header and no image at all) I'm pretty sure this is the code:

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?spaceypeople\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?example2\.com/ [NC]
RewriteRule .*\.(jpe?g¦gif¦bmp¦png)$ - [F]

If you just want to block the umm.. spaceypeople, you can remove the second line. Just be sure to change the flag to [NC] for the last, or only line. [NC,OR] is used if you have multiple places (like ebay etc) that you want to block, and [NC] for the final line.

minnapple




msg:758241
 5:08 am on Jul 8, 2006 (gmt 0)

Unless you are suffering significant bandwidth costs due from hotlinking, you might want to leave it alone for now.

One smaller SE 'might' be looking at them as inbound links at this time.

LunaC




msg:758242
 12:39 pm on Jul 8, 2006 (gmt 0)

Hmm, I've wondered if Google is doing the same, even if it's just for Google image search. I haven't been able to tell either way really.

Is it against the TOS to say which smaller SE that might be?

soapystar




msg:758243
 12:46 pm on Jul 8, 2006 (gmt 0)

One smaller SE 'might' be looking at them as inbound links at this time

how would the se know the image is not being displayed?...the code and link to the image is unaffected.

jomaxx




msg:758244
 5:38 pm on Jul 8, 2006 (gmt 0)

I think the point is that if you block hotlinking then nobody will do it, thus no image links.

soapystar




msg:758245
 6:07 pm on Jul 8, 2006 (gmt 0)

my hotlink script not only doesnt stop new image stealers every day...but they also leave the link with ni image in place for ever..i can only conclude that most people who steal images are stupid. :)

rjwmotor




msg:758246
 7:12 pm on Jul 8, 2006 (gmt 0)

I tried both of the above codes and couldn't get either to work...

soapystar




msg:758247
 7:50 pm on Jul 8, 2006 (gmt 0)

did you remember to change the ¦ bit which needs to be a solid line.

rjwmotor




msg:758248
 8:09 pm on Jul 8, 2006 (gmt 0)

That was it....thanks!

richmedia




msg:758249
 9:09 pm on Jul 8, 2006 (gmt 0)

We always used a hotlink prevention rules without any problems on G.images
But around 6 months ago, traffic from G.images has ben dried. I guess they count the hotlink these days and drop your site because they know about errors in search results.

soapystar




msg:758250
 10:04 pm on Jul 8, 2006 (gmt 0)

I guess they count the hotlink these days and drop your site because they know about errors in search results.

wot?

richmedia




msg:3000444
 9:31 pm on Jul 9, 2006 (gmt 0)

I mean, if you're using an antihotlink, the search results in the G.Images lead to the pages with broken graphics. Yesterday google didn't handle such errors and used the in the index, but now the know about problem and remove such results from the index (IMO).

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved