1. Home
  2. Knowledge Base
  3. Control Panel
  4. Plesk
  5. How to set up HotLink Protection in Plesk

Hotlink protection in Plesk is also known as inline linking or direct linking, is when another web site links directly to files that are hosted on your website. Hotlink Protection in cPanel stops media files from being repeatedly downloaded or misused. The HotLink Protection in cPanel writes the .htaccess code for you.

An example of hot linking: Say I like the image on your website and I want that image on my site. If I use the full URL of your image on my site, then the image is downloading from your site every time someone looks at my site. This means I am using your bandwidth for the image. When you enable Hot Link Protection, then I cannot steal your bandwidth anymore.

Enabling Hotlink Protection in Plesk

To enable hotlink protection, perform the following steps:

1. Login to your Parallels Plesk Panel.

2. Go to Websites & Domains Tab.

How to set up HotLink Protection in Plesk

3. Click “Show More” to expand the list of options for this domain.

How to set up HotLink Protection in Plesk

4. Click Hotlink Protection icon.

How to set up HotLink Protection in Plesk
5. Click Switch On to enable the protection from hotlinking.

How to set up HotLink Protection in Plesk
6. Specify the extensions of files that you want to protect from hotlinking (for example, jpg, bmp, and so on) in the Protected files extensions field. When listing several file extensions, separate them with white spaces.

7. If you want to allow direct linking to your files from certain sites, type the website addresses into the Addresses of friendly web sites field, and click Add.

How to set up HotLink Protection in Plesk
8. Click OK.

How to set up HotLink Protection in Plesk

Disabling Hotlink Protection in Plesk

To disable hotlink protection, perform the following steps:

1. Login to your Parallels Plesk Panel.

2. Go to Websites & Domains Tab.

3. Click “Show More” to expand the list of options for this domain.

4. Click Hotlink Protection icon.

5. Select the domain for which you want to remove the hot link protection.

6. Click Remove button and reconfirm it again.

7. Click OK.

Note: Read our detailed article on How to use Hot Link Protection in cPanel.

Was this article helpful?

Related Articles