Back to search

How to setup Hotlink protection in cPanel

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

Was this answer helpful?      

Also Read

How to create an addon domain in cPanel
This demo assumes you've already logged in to cPanel Now let's learn how to create an addon...
How to install MODx from Softaculous
MODx is a content management system, so scroll down until you find the CMS group in the menu. 1...
Configuring your website in WS_FTP
This tutorial assumes you already have WS_FTP running on your computer, but have not connected to...
How to install MyBB from Softaculous
Let's see how to install MyBB in Softaculous. 1 Scroll down until you find it in the menu. 2...