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 do I know what is the best hosting option for my website?
Your hosting option will be determined by the amount of disk-space, MySQL Databases, email...
Exporting databases and tables with phpMyAdmin
This tutorial assumes you've already logged in to phpMyAdmin Now let's learn how to...
How to setup domain redirects in cPanel
This demo assumes you've already logged in to cPanel Now let's learn how to setup domain...
How to import a script into Softaculous
If you already have one of the scripts in Softaculous installed, you can import it so it can be...