How to Set up Hotlink Protection in cPanel

In this guide, we will explain how to set up Hotlink Protection in cPanel. With the use of the hotlink protection feature in cPanel, a third party cannot integrate your material on their website or use your bandwidth to serve it. The majority of the time, it stops other websites from directly connecting to specific assets, usually photos, on your website.

Check out the steps to set up Hotlink protection in cPanel:

  1. Log in to cPanel control panel.
  2. Select the “Security” section and click on the “Hotlink Protection” sub-option.
  3. Here you can enable or disable hotlink protection as per your requirement.
    Hotlink Protection
  4. Under the header “URLs to enable access,” enter the name of your domain and any subdomains that might require access to server resources (images, etc).
  5. Enter the file extensions you want to block direct access. Separate these extensions using comma.
  6. When using hotlink protection for files that you wish visitors to view in QuickTime, be sure that the “Allow direct requests” item is checked (for example, Mac Users).
  7. If someone tries to hotlink to any of your files or photos, enter the URL you want them to be redirected to.
  8. Click on the “Submit” button.
    configure hotlink protection
  9. You will get a success message.
    Hotlink Protection Enabled

That is it! Hope you liked our article. If you have any queries, you can contact our support experts. Also, never hesitate to seek help.