How To Set up Hotlink Protection in cPanel

  1. This tutorial assumes you’ve already logged in to cPanel, and are starting on the home screen.

    cpanel-paperlantern-20-hotlink--01

  2. Now let’s learn how to setup hotlink protection.

    cpanel-paperlantern-20-hotlink--02

  3. Click the "Hotlink Protection" icon.

    cpanel-paperlantern-20-hotlink--03

  4. Hotlink protection prevents other websites from directly linking to certain files (typically images) on your website. You’ll want to prevent this if you have copyrighted images, or to simply save on bandwidth usage. You’ll first want to make sure your own sites are listed here, so you are able to hotlink to your images.

    cpanel-paperlantern-20-hotlink--06

  5. Enter all the file types you want to protect …
  6. … and check the "Allow direct requests" box if you want to give the ability to manually enter URLs of a protected file.

    cpanel-paperlantern-20-hotlink--07

  7. Enter the URL you want to redirect to, for anyone who tries to hotlink to your files or images.

    cpanel-paperlantern-20-hotlink--08

  8. Then click "Submit".

    cpanel-paperlantern-20-hotlink--09

  9. That’s it! You’ve successfully enabled hotlink protection.

    cpanel-paperlantern-20-hotlink--10

  10. To disable hotlink protection, click the "Disable" button.

    cpanel-paperlantern-20-hotlink--11