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.

If you enjoy this post, make sure you



