How to setup hotlink protection in cPanel?

 

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.

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

  • 0 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

How to add a record with the DNS Zone Editor in cPanel?

  How to add a record with the DNS Zone Editor in cPanelThis demo assumes you've already logged...

How to add an MX entry in cPanel?

  How to add an MX entry in cPanelThis demo assumes you've already logged in to cPanel, and are...

How to backup your website in cPanel?

  How to backup your website in cPanelThis demo assumes you've already logged in to cPanel, and...

How to Change PHP Directives Globally from WHM with EasyApache 4?

You can follow below steps to change the values of PHP directives for all the websites running a...

How to change PHP version from cPanel?

The latest version of cPanel/WHM (58.3.x) is shipped with the EasyApache 4.0. It allows you to...