Problem Statement
Images do not show on website pages except Home page on Linux environmentError Message
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 do the following:
Solution
- Open cPanel and find Hotlink Protection.
- You will have to put domain you would like to protect under "URLs to allow access" section.
- Enter the extensions you would like to block under box "Block direct access for these extensions".
- Check the box for "Allow direct requests" and skip the "Redirect request to this URL" box and hit Submit.