Hotlink protection prevents other websites from directly linking to
files (as specified below) on your website.
Other sites will still be able to link to any file type that you
don’t specify below (ie. html files).
An example of hotlinking would be using a <img> tag to
display an image from your site from somewhere else on the net.
The end result is that the other site is stealing your
bandwidth.
List all sites below from which you wish to allow direct links.
This system attempts to add all sites it knows you own to the
list; however, you may need to add others.
- Log into cPanel
- Go to Security area
- Click on Hotlink Protection
- Click on Enable
URLs to allow access − Enter those URLs here, whom you want to grant permission to directly access your website’s files.
Block direct access for the following extensions (comma–separated) − Enter those file extensions here, which will not be able to be linked by other website. For E.g. MP4, JPG, and PNG etc.
Allow Direct Requests − This will allow the user to access your files directly by providing full URL of your file. For example, when a visitor will enter the full URL of a PDF file, the file can be viewed in a browser. It is recommended that you select this checkbox.
Redirect the request to the following URL − If a website tries to link to a file directly from your website, the system will redirect that URL to the one provided in this field.