In this guide, we will explain how to set up Hotlink Protection in cPanel. With the use of the hotlink protection feature in cPanel, a third party cannot integrate your material on their website or use your bandwidth to serve it. The majority of the time, it stops other websites from directly connecting to specific assets, usually photos, on your website.
Check out the steps to set up Hotlink protection in cPanel:
- Log in to cPanel control panel.
- Select the “Security” section and click on the “Hotlink Protection” sub-option.
- Here you can enable or disable hotlink protection as per your requirement.
- Under the header “URLs to enable access,” enter the name of your domain and any subdomains that might require access to server resources (images, etc).
- Enter the file extensions you want to block direct access. Separate these extensions using comma.
- When using hotlink protection for files that you wish visitors to view in QuickTime, be sure that the “Allow direct requests” item is checked (for example, Mac Users).
- If someone tries to hotlink to any of your files or photos, enter the URL you want them to be redirected to.
- Click on the “Submit” button.
- You will get a success message.
That is it! Hope you liked our article. If you have any queries, you can contact our support experts. Also, never hesitate to seek help.