motov.net

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color
Home arrow Tutorials arrow Miscellaneous arrow Hotlink Protection for your images
Hotlink Protection for your images Print E-mail
Tuesday, 27 November 2007
Here is an example .htaccess file, that will protect your images from being hotlinked, so you can save your bandwidth.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ bloked.jpg [NC,R,L]

This is a tested technique that will save you a lot of trouble. You can add as many extensions as you like, .FLV for example if you have a video sharing website.
Last Updated ( Tuesday, 27 November 2007 )
 

Proof of Verification

Login Form






Lost Password?
No account yet? Register

Instant Messaging

My status  bbh2k3
171-881-244

Let us know

Do you think our products are too expensive?
 

Syndicate