How To Set up Hotlink Protection in cPanel

Reading Time: 3 minutes
  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


About the Author: dpepper

Have Some Questions?

Our Sales and Support teams are available 24 hours by phone or e-mail to assist.


Latest Articles

5 Alternatives to GitHub

Read Article

5 Steps to Install and Configure osquery on CentOS 7 & 8

Read Article

Five Steps to Create a Robots.txt File for Your Website

Read Article

Premium Business Email Pricing FAQ

Read Article

Microsoft Exchange Server Security Update

Read Article