How to setup Hotlink protection in cPanel

Back to search

This demo assumes you've already logged in to cPanel

Now let's learn how to use Hotlink Protection, so people can't link directly to images in our website

1 Click the Hotlink Protection icon

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

2 Enter all the file types you want protected here...

3 ... and if you want to allow people to be able to manually enter the URL of a protected file, check this box

4 Then enter a URL you want to redirect to, for anyone who tries to hotlink to your files or images

5 Click Submit

That's it! You've successfully enabled hotlink protection

6 To disable hotlink protection, click this Disable button

This is the end of the tutorial. You now know how to use hotlink protection to prevent hotlinking to your files

Also Read

How to install Nucleus from Softaculous
Let's see how to install Nucleus from Softaculous. 1 Find Nucleus in the list. You will be...
Uploading files using Leap FTP
This tutorial assumes you already have Leap FTP running on your computer and are connected to a...
Deleting fields from database tables with phpMyAdmin
This tutorial assumes you've already logged in to phpMyAdmin Now let's learn how to delete...
How to use the Index Manager in cPanel
This demo assumes you've already logged in to cPanel Now let's learn how to use the Index...