homepage Welcome to WebmasterWorld Guest from 54.204.67.26
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderator: open

Site Graphics and Multimedia Design Forum

    
How do I stop the hotlinking of my images?
davidh6781




msg:3925107
 9:24 pm on Jun 2, 2009 (gmt 0)

Hello, I have been closely browsing my Stats and noticed a repeat website popping up etc, a little further in digging i found they using images etc from my server.

Can i use htaccess etc to stop hotlinking and replace with another file saying hotlinked?

I do host my own image files for selling on ebay too so i take it ebay and such like would be blocked if i can htaccess hotlinking?

i hope this make sense and if this is located in the wrong place please accept my applogise.

 

Leosghost




msg:3925135
 10:24 pm on Jun 2, 2009 (gmt 0)

Can i use htaccess etc to stop hotlinking

yes ..and if you are hosted using cpanel you can do it easily there without having to write your own .htaccess file ..
( if you do want to know how to write such files ..post in apache forum here )
I do host my own image files for selling on ebay too so i take it ebay and such like would be blocked if i can htaccess hotlinking?

yes ..but ..you can either via cpanel ..or in .htaccess file allow ebay to link to your images ..however that would allow anyone else running ebay auctions to link to them to for their auctions ..

some other hosting control panels may also let you do one click anti hotlinking ..

Jane_Doe




msg:3925189
 12:22 am on Jun 3, 2009 (gmt 0)

Where are they hotlinking to? If it is Ebay, personally I just rename my image to something else and put an ad for my site in place of the old image. i.e. for better prices on this product visit www.mysite.com.

If is to something like a gamer using your image as an avatar you can rename the image and replace it with something like a Hello Kitty picture.

[edited by: Jane_Doe at 12:23 am (utc) on June 3, 2009]

davidh6781




msg:3925437
 8:27 am on Jun 3, 2009 (gmt 0)

Cheers the replies, what it is, is another Blog hotlinking the images and probs the text but i can't read it, its in chinese i think.

So to stop this happening i was thinking on htaccess bit, i would change the images but it would mean i would have to constantly check which i don't have the time for.

Ebay bit hasn't been a problem touch wood, now i say it it will be an issue lol.

Unfortunaly my server is on Plesk 8 so i think its hand coded htaccess file.

Any way off to the apache forum bit for the advice.

davidh6781




msg:3925438
 8:29 am on Jun 3, 2009 (gmt 0)

Unsure but i think i am losing the plot. were is the Apache section?

jbinbpt




msg:3925451
 8:50 am on Jun 3, 2009 (gmt 0)

[webmasterworld.com...]

davidh6781




msg:3925465
 9:09 am on Jun 3, 2009 (gmt 0)

thanks couldn't see it for looking.

simonuk




msg:3925496
 9:53 am on Jun 3, 2009 (gmt 0)

When I spotted someone doing that to me I created a new jpg file which had this text "This ebayer steals bandwidth and breaks copyright... Really want to trust your money to him?" and I had all the images he was leaching point to that jpg.

Strangely he stopped leaching off me very quickly after that...

Gotta love the power of .htaccess

thecoalman




msg:3927052
 6:16 am on Jun 5, 2009 (gmt 0)

My personal favorite is a 1px X 32000px transparent .gif.

Many of them never use the size attribute for the image so it breaks the layouts on a lot of pages, the hotlinker has no clue since they have the imaged cached locally. Once the cached image expires assuming they don't notice the missing image the page is now broken with no visible reason why... LOL.

davidh6781




msg:3927528
 9:54 pm on Jun 5, 2009 (gmt 0)

Thanks for the info much appreciated.

travelin cat




msg:3927844
 2:43 pm on Jun 6, 2009 (gmt 0)

My personal favorite is a 1px X 32000px transparent .gif.

That's brilliant. I could have used that a few years ago...

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved