Many a times Bloggers run out of their monthly usage without even their articles getting many hits, resulting in a downtime or paying penalty for specific hosting. This might be a result of Hotlinking, this means that the images you are hosting on your site are used by other sites by inserting same links in IMG tags, which sucks your bandwidth.
This simple tutorial will help you prevent this in a snap.
For Advanced Users:
Note: Do take backup of your .htaccess(hypertext access) file.
01. Search for a file named .htaccess(hypertext access) in the webroot of your server (FTP) and can be easily edited using any text editor (like Notepad). Open it and add below code in it:
#Protect against hotlinking
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domainname.com/ [nc]
RewriteRule .*.(gif|jpg|png)$ http://domainname.com/img/stop_stealing_bandwidth.gif[nc]
02. Save and you are done.
For Normal Users:
You can download and install the below plugin for achieving such:
WordPress Automatic Image Hotlink Protectionn
Script Source:
This concludes this simple and useful tutorial. Hope you like it.
Pingback: Prevent Hotlinking (Save Bandwidth) « Netcrema – creme de la social news via digg + delicious + stumpleupon + reddit
Pingback: links for 2010-01-29 | AndySowards.com :: Professional Web Design, Development, Programming Freelancer, Hacks, Downloads, Math and being a Web 2.0 Hipster?
Pingback: uberVU - social comments
Pingback: designfloat.com
Pingback: Twitted by Richbugger
Pingback: Twitted by meddlesome
Pingback: Twitted by heyangel
Pingback: wp-popular.com » Blog Archive » Prevent Hotlinking (Save Bandwidth)
Pingback: 20 nyttiga länkar för dig som bloggar : Webmastern.se
Pingback: Prevent Hotlinking (Save Bandwidth) | TutZone | WordPress News
Pingback: 130+ Need to Check Out Posts for Designers and Developers | tripwire magazine
Pingback: Very Useful 65 Wordpress Hacks | Design your way
Pingback: can I use a file hosting site as a dedicated server? | Host Rage
Pingback: Plzz answer..i beg you : Free mp3 hosting with hotlink,unlimited bandwidth? | BingSite
Pingback: Wordpress hacks and tricks | Wordpress Theme Designing, Blog Optimization, Wordpress Videos