Fix :: Images Do Not Show up On Some WebPages in cPanel Hosting

Problem Statement


One of our customer faced the problem wherein images do not show up on some of his web pages. Upon further investigation, we have concluded that some of the image URLs were not added in Hotlink protection feature of cPanel.

Hotlink is a cPanel functionality that prevents other websites from directly linking images on your website.

For Example: When someone has linked an image on your website, everytime someone browse your website, your bandwidth will be used. You can prevent bandwidth stealing by enabling the HotLink Protection from cPanel. To enable / disable hot link protection, please follow below mentioned steps:


Solution

 

  1. Open cPanel and find Hotlink Protection.
  2. You will have to put domain you would like to protect under "URLs to allow access" section.
  3. Enter the extensions you would like to block under box "Block direct access for these extensions".
  4. Check the box for "Allow direct requests" and skip the "Redirect request to this URL" box and hit Submit.

Related Articles

How to Change The File Permission in cPanel?

Files and folders inside your Hosting account will have permissions that control the read, write...

How do I change document root folder to some sub-folder using an .htaccess file?

By default, the web-contents of your website will be loaded from the public_html directory. If...

Fix - Error 330 ( ERR_CONTENT_DECODING_FAILED)

Sometimes, you open page of your website in Firefox browser and you get following error....

How to install MediaWiki in Linux hosting?

Pre-installation Steps: Set up MySQL database Please refer following article to set up MySQL...

How to install Invoice Ninja using Softaculous?

Softaculous is an application installer of cPanel. We can install Invoice Ninja through...

  • 0 Users Found This Useful

Was this answer helpful?