How to enable hotlink protection in cPanel.
Posted by admin on 11 September 2009 10:13 PM
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). You can use hotlink protection to keep other sites from linking to your images, videos, and other files. If another site links directly to your images or other files, they will be using your bandwidth to display those files rather than theirs.|
Log into your control panel, and click on Hotlink Protection.
Enter the names of sites that you wish to access your files in the first field which already contains the name(s) of your site(s).
Enter the file types that you wish to let those sites access by entering their extensions in the blank field next to Extensions to allow (seperate by commas):
Enter the URL you wish to redirect links to that are not allowed in the blank field next to Url to Redirect to:
If you wish to allow the sites you have entered to directly request files (view images or videos by typing their URL into a browser), click on the box next to Allow direct requests
Click on Activate to enable Hotlink Protection, and you're set.
Please note: Make sure that you include all sites that need to access your protected files in the first bank field or they will not be able to view the files. If you still cannot view a file, try disabling Hotlink Protection to see if it is the cause of the problem.