Knowledgebase

How do I protect my media files from "hotlinking"?

Hotlinking is when content from your site is embedded on another site, using your monthly bandwidth to serve the files. 

 

How to Enable Hotlink Protection

1. Log into the Control Panel, click on the Hotlink Protection tool. 

2. Click the Enable button on the HotLink Protection main page.

3. To allow sites to hotlink to your site, add the URL to the URLs to allow access list. Direct access to certain file extensions can be blocked by adding them to the text field under the Block direct access for these extensions heading. When these file types are blocked, people will not be able to hotlink those types of files from your website, even if hotlinking is allowed.

4. Click the checkbox to allow users to access the content by entering the specific file's URL into a browser. Requests for content can be redirected by entering a URL under the Redirect request to this URL heading.

5. Click Submit.

 

Disable Hotlink Protection

To disable hotlink protection, click the Disable button on the main HotLink Protection page. 

NOTEClicking Disable may delete any entries you have added to the list of URLs to allow access. If you are disabling access only temporarily, you may want to save the list so that you can re-enter it later. 

When disabling hotlinks, be sure to allow hotlinking for any necessary domains such as your website’s subdomains if you're using any.

 

Was this answer helpful?

 Print this Article

Also Read

What is cPanel?

cPanel is our web hosting control panel that provides a visual interface and tools designed to...

How do I use the Advanced Zone Editor?

DNS (Domain Name Service) is the component of the Internet that converts human-readable domain...

How do I use the HTML Editor?

The HTML editor allows cPanel users to easily edit their HTML documents from the File Manager...

How do I forward an email address?

Having an "email forwarder" allows you to re-direct any email sent to one email address to...

How do I create a custom error page?

An error page informs a visitor when there is a problem accessing your site. Each type of problem...