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

Managing files in SmartFTP
This tutorial assumes you already have SmartFTP running on your computer and are connected to a...
Configuring your website in FileZilla
This tutorial assumes you already have FileZilla running on your computer but have not connected...
Please explain the meaning of Stats on my Website.
The stats for a website will display as Visits, Unique Visits, Page Views and Hits. They are...
How to install WordPress from Softaculous
Let's see how to install WordPress in Softaculous. 1 Find WordPress in the menu. You will be...