What Is Hotlink Protection


Hotlink protection ensures that you are protected against bandwidth theft. It prevents other websites from directly linking to your site’s files, which in turn puts a stop to other website owners benefiting from your domain’s data resources. As a result, source files will not be leached from the server hosting your website.

By not enabling this protection, you risk receiving no credit for all the hard work you put into your website on top of an ever-increasing bandwidth bill.

Hotlink Protection through cPanel

In essence, hotlink protection will cause cPanel to evaluate a URL that is requesting access to your website’s files, and block that request if it is not coming from an approved domain. cPanel gives users an intuitive graphical interface which minimizes the need to use the command line, especially when it comes to accomplishing simple tasks.

To enable hotlink protection through cPanel, follow the following steps:

  • Log into your cPanel and click on the HotLink Protection option.

4e7faeb9bf57fda4727a9249d88fde7518d83390?t=a785145934554577804d76cde286d81a

  • Allow access to certain domain names by typing their URLs into the “URL to allow access” field.
  • Block certain extensions from accessing your files by entering them into the “Block direct access for these extensions” field.
  • In the “Allow direct requests” field, type in the URL of your own site in addition to any other domains belonging to you.
  • Use the “Redirect request to this URL” if you wish to redirect someone that hotlinks to your site.
  • Lastly, click on “Submit” and test it out.


b1268202abac671ed4c37e3461d5939796f024a9?t=1c277ab3b4857350a1c04c4ab35331d0


You can also make use of an approved htaccess plugin, suited to your content management system, to do the job for you. However, it is important to note that HotLink Protection enabled through cPanel may cause problems when using a CMS. If you are experiencing this problem then rather try to manually edit the .htaccess file yourself.

هل كانت المقالة مفيدة ؟

 طباعة

مقالات مشابهة

Web hosting inode limits

Our Web hosting plans have unlimited disk space and bandwidth, however there are certain inode...

Steps To Take When Your Account Is Flagged For Excessive Resource Usage

Have you received a message from our team warning you about ‘excessive resource usage’?Any...

How To Prevent Excessive IMAP Activity On Your Email Account

Over time, IMAP has become one of the most common email protocols used to check an email account....

Optimize your WordPress Site with WP Super Cache

Optimizing your WordPress website is important for user experience. Slow websites repel users,...

Use phpMyAdmin To Optimize Your Database

Luckily optimizing a MySQL database in phpMyAdmin is easy. In most cases, you won’t need to do...