Navigation


How To Avoid The Bandwidth Robbery, How to avoid the bandwidth Stealing

June 12th, 2007, Internet, General, admin, Print This Post Print This Post

Sometimes, some people link directly to images in your host. This people is robbering you bandwidth. To avoid this only have to write some code lines in your .htaccess file in your host root:

QUOTE

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://your-domain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://www.your-domain.com [NC]
RewriteRule .*\.(gif|jpg|swf|png)$ - [NC,F]

There is another thing you can do. You can also show an image you want instead linked images. So the people that has been robbering you bandwidth will take a surprise. Just ad this to code:

QUOTE

RewriteRule .*\.(gif|jpg)$ image path[R,NC]

I hope you enjoy this.

Webhosting - 0.99$/Pay monthly 1 GB Space, 5GB BW, Cpanel etc

del.icio.us Digg it Earthlink Furl iFeedReaders ma.gnolia Maple.nu Netvouz Netscape RawSugar reddit Scuttle Shadows Simpy Spurl StumbleUpon Wink Yahoo MyWeb

Leave a reply



Last 25 post


Subcribe

    Add to Google Reader or Homepage

    Subscribe in NewsGator Online

    Add to My AOL

    Add Ask N Answer to Newsburst from CNET News.com

    Subscribe in Bloglines

    Subscribe in FeedLounge

Pages


Category


Archive


Links