Knowledgebase

Using hotlink protection

Hotlink protection prevents other websites from directly linking to certain files (typically images) that are on your website. This tutorial will assume that you are already logged into your cPanel. If you are having problems doing that or don't know how, please view the tutorial named: How to log into cPanel.

The purpose of hotlink protection is so that people can't link directly to images within your web site. You want to prevent this especially if you have copyrighted images or simply to save on your bandwidth usage. By directly linking to your site, others are stealing your bandwidth.

On your cPanel main page scroll down to the section called security and click on the hotlink protection link to load the main hotlink protection screen. At this page, make sure all your own sites are listed in the URLs to allow access box so you are able to hotlink with your own images.

In the next box, list all the extensions or file types you want protected. For example, you might list .jpg, .jpeg, .gif, .png, .bmp and so forth, all separated by commas.

In the next box enter a URL you want for a redirect, this is for those who try to hotlink to your files and/or images. It could be something like your homepage or an error page.

Next, if you want to enable someone to manually enter the URL of a protected file, check the allow direct requests box then click the submit button to load a confirmation screen. This screen will show you the websites you have allowed to hotlink and the protected extensions.

To disable hotlink protection, simply click the disable button. You can add or remove file types to the protected list at any time.

You can now click the home link in the upper left corner and return to the main cPanel page or to exit cPanel use the logout link in the upper right corner. Remember, if you are using a public computer, ALWAYS logout of cPanel before closing.

For additional assistance, contact us by submitting a support ticket.

Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Quick Navigation
Language:

Client Login:

Email

Password

Remember Me