How to Disable Hotlinking of the Images Using .htaccess file?

Hotlinking ProtectionThe people who don’t know, a Hot-linking is when some other website uses images hosted on your site or blog. For example: a.com is your site and has some pretty nice images, then b.com decides that instead of hosting those images on their server, they can just link from their pages to the images hosted on your site a.com.

Hot-linking usually is bandwidth and of course content stealing. The b.com site will not pay for the traffic used as the image is being loaded from site a.com.

So it is a good practice to prevent images hot-linking:

You can prevent the hot-linking of your images by creating a simple code in the .htaccess file:

RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http://(www.)?example.com/.*$ [NC]

RewriteRule \.(gif|jpe?g|png)$ – [F]

The above code will result in a broken image to be displayed when it is hot-linked.

The example above works for .GIF, .JPG and .PNG files, but you can add any file extension.

If you place the .htaccess file in the main folder of your site it will disable hot linking for all your site.

To block other type of files, just add their extension to the list above. For example to block movie files:

RewriteRule \.(mov|avi|wmv|mpe?g)$ – [F]

The Hot-Linking Protection is based on an Apache module called ModRewrite. So your web host should support it in order for you to be able to use these on your site.

Posted under Webhosting

Boost up Your Website Bandwidth via Article Marketing

Nowadays, article writing is in very high demand and can provide you with 100% unique & targeted content for your blogs. The only reason is that they have the supremacy to boost up your website bandwidth with high quality website traffic.

If you wish to hit into this supreme high traffic pulling power of articles you need to make sure that you follow these 3 easy steps with every article you create.

Simple 3 steps to boost up your website traffic right off the charts:

  • Optimizing Your Articles
  • Attractive Titles
  • Quality Base Articles

The intention behind this article is to ensure that you get huge traffic via article marketing campaign.

Below are the detailed articles marketing steps to burst your website traffic…

Optimizing Your Articles

To optimize your articles, you must put your niche keywords in your articles so that search engines will identify the niche you are targeting through that article.

Research the keywords and niche people are using to find information related to your products and services. Then, with those keywords optimize your articles so that they will get index soon and rank well in the search engines.

Attractive Titles

Titles are one of the most important factors of your article. If your title could not make it to attract your targeted market, none will read your article. If they not succeed to read your article no one will reach your resource box and so zero traffic to your website.

Thus focus on creating attractive headlines. My suggestion to you is to get headline templates on the internet. There are many copywriting e-books that will give you fill in the blank headline templates that are really appealing.

Then, ensure that you include your article benefits and solution to problems of your target niche and use the templates to write attractive headlines.

Quality Base Articles

The only thing that motivates people to read your articles is the quality content or information. If your article is sucking and provides useless information, you could lose your reputation and get no traffic to your website.

Hence, it is very essential to give your targeted visitors what they want, that is quality informative content in your niche.

Providing quality content to visitors will boost up your name, reputation and website traffic of your blog.

Posted under Blogging, Internet Marketing, Search Engine Marketing (SEM), Search Engine Optimization, SEO Tips

This post was written by admin on March 16, 2009

Tags: , , , , , ,