Important: This feature is only available on Hostek plans that include Hotlink Protection.
Before you begin
You will need:
A cPanel account
Access to the Hotlink Protection tool within your cPanel dashboard
Configure Hotlink Protection
Log in to your cPanel account.
Locate the Security section and select Hotlink Protection.
Select the Enable radio button or checkbox to activate the feature.
Enter the domains you wish to allow to link to your content in the Allowed Domains field.
Select Enable to activate the protection.
Confirm the result
The status of the Hotlink Protection tool will display as Enabled.
When an unauthorised domain attempts to load your images or media, the request will be blocked or redirected, and the content will not appear on their site.
Limitations
Hotlink Protection works by checking the "Referer" header of a request. If a visitor clicks a link to your image from an external site or if the browser does not send a Referer header, the protection may not trigger as expected. This feature does not prevent a user from downloading your images directly; it only prevents other websites from "hotlinking" them.
