A hotlink occurs when someone embeds content from your site in another site and uses your bandwidth to serve the files.

You can use this interface to prevent this issue.

When "Hotlink Protection" is enabled, it ensures that other sites cannot suck up your bandwidth by building pages that use images hosted on your site.

 

Anytime a request for an image on your site hits your server, this option checks to ensure that it's not another site requesting them.

People will still be able to download and view images from your page, but other sites won't be able to steal them for use on their own pages.

Now, there is something to keep in mind.

When you disable hotlinks, make certain that you allow hotlinks for the domains you own.

For example, your website's subdomains and the URL that you use to access your cPanel account.

 

The URL for accessing your cPanel account should appear in the List the URLs to which you wish to allow access menu.

If it doesn't, you may not see embedded images in the HTML Editor section of the File Manager interface (cPanel >> Home >> Files >> File Manager).

 

How To Enable Hotlink Protection In cPanel

To enable hotlink protection, perform the following steps:

Click Enable.

A new page will open that displays the Allowed referrers and Protected extension lists.

Click Go back.

To allow specific sites to hotlink to your site, add their URLs in the URLs to allow access menu.

To block direct access to files of specific types, add those file extensions to the Block direct access for the following extensions text box.

For example, to block all .jpg images, add .jpg to the Block direct access for the following extensions text box.

When you block these file types, others cannot hotlink those types of files from your website regardless of any other settings.

To allow visitors access to specific content through the URL, select the Allow direct requests checkbox.

For example, if you enable this option, a visitor could enter http://www.domain_name.com/folder/example.jpg as a URL to access the example.jpg file.

To redirect requests for certain content, enter the URL to which you want to redirect your visitor in the Redirect the request to the following URL text box.

Click Submit.

 

To disable hotlink protection, click Disable.

When you click Disable, the system deletes the entries in the List the URLs to which you wish to allow access list.

It is highly and strongly recommended that you save the list locally before you disable hotlink protection.

 

Bu cavab sizə kömək etdi? 0 istifadəçi bunu faydalı hesab edir (0 səs)