How to setup hotlink protection in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen.

Now let's learn how to setup hotlink protection

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.

Enter all the file types you want to protect...

... and check the "Allow direct requests" box if you want to give the ability to manually enter URLs of a protected file.

Enter the URL you want to redirect to, for anyone who tries to hotlink to your files or images.

Then click "Submit".

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

To disable hotlink protection, click the "Disable" button.

Was this answer helpful?

 Print this Article

Also Read

How do I disable CloudFlare for my domain?

Using the basic mode (cPanel plugin), you can disable CloudFlare by simply deactivating the...

How to enable spam protection in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen. Now...

How to create a domain alias in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen. Now...

How to password protect a directory in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen. Now...

How to change your cPanel password

This demo assumes you've already logged in to cPanel, and are starting on the home screen. Now...