Hotlink Protection in cPanel

How to do Hotlink Protection in cPanel?

Hotlink Protection in cPanel

 

Hotlink Protection is the simplest way to protect your sites from the other sites. In other words, it helps you to prevent the linking of sites directly to the images and other files on your website.

For example, If I have owned a site and the stranger likes the image and description, then used the URL of the image in their site. When some visitors visit the stranger’s site, the image on my site gets downloaded every time. Thus, there is a huge loss of bandwidth on my site. This is called Hotlink.

To safeguard your site and also to reduce the usage of bandwidth, cPanel provides a tool called ‘Hotlink Protection’.

In this article, we have guided you on how to use the hotlink protection in cPanel.

Enabling Hotlink Protection in cPanel

STEP 1: Login

Login to cPanel of your website.

 

STEP 2: Hotlink Protection

Navigate to the ‘Security’ section, and click on ‘Hotlink Protection’ under the security section.

Hotlink Protection

 

STEP 3: Enabling protection

Click ‘Enable’. Now, you have enabled the Hotlink protection for your site.

 

STEP 4: Allowing URL to access

Under ‘URL’s allow to access domain’. Enter the list of URL’s that can access your site.

 

URL to Allow Access

 

STEP 5:  File Extensions

In the ‘Block Direct Access’ box, enter the list of file extensions that you wanted to block direct access.

Block Direct Access - Hotlink

 

STEP 6: Direct Requests

After entering the file extensions, click on the checkbox ‘Allow Direct Requests’.

Allow Direct Request - Hotlink

 

STEP 7: Redirecting request

Another feature in hotlink protection is, you can also Redirect request to any specific URL entering in the text box. When user try to access embedded file in another website, it will be redirect to this URL Now Click on ‘Submit’.

Redirect the Request to URL- Hotlink

 

Now, you have successfully enabled the Hotlink Protection. Now, let us see how to disable hotlink protection.

Configure Hotlink Protection

 

How to Disable Hotlink Protection

Step 1: Under the security section of cPanel, click on Hotlink Protection.

Step 2: Click ‘Disable’.

Disable Hotlink Protection

 

Hope the information in the article helps you protect your files from being used in any of other websites.

 

[Tweet “Hotlink Protection in cPanel”]

If you are a registered user in SeekaHost and have any queries to be clarified or issues to be sorted, you can raise a ticket through client area dashboard or email to support@seekahost.com. For immediate interaction or guidelines, contact our support team available in LiveChat at the right bottom corner of the website.