Free hosting image linking restriction

Home » Knowledge Base » F.A.Q. » Fair Use Policies » Free hosting image linking restriction

What Does Hotlink Protection Mean?

By default, all Free shared accounts have Hotlink Protection enabled. This means that any image file hosted on our Free hosting platform cannot be accessed directly in a web browser.

This restriction is in place to reduce the risk of malicious activity on our Free servers and help protect external websites from using our customers’ monthly bandwidth (traffic).

How Can I Resolve The Situation?

Below we have provided a list of possible solutions that you can use to rectify the problem:

  • By using a relative (local) file path instead of an absolute (global) path.
  • By upgrading your existing Free hosting package. You’re welcome to review our premium hosting plans and their features on our shared hosting page.

Listed below are the steps you need to perform to convert an absolute path to a relative one:

    1. Upload your HTML document and its corresponding image file(s) to the server.

hotlink protection 1

    1. Using our Control Panel’s File Manager or your favorite text editor, open the HTML file where you would want your pictures to be displayed.
    1. Change the path that was originally assinged to your image file from:
 <img src="http://domain.com/image.jpg" alt="attribute">

to the one shown in the box below:

 <img src="image.jpg" alt="attribute">

Note: Be mindful that our file system is case sensitive. Therefore, the path and name of the file specified in your script must match the exact location and file name.

Note: If the image file is present in the folder above the current directory, you would need to make a slight modification to the code, like so:

 <img src="../image.jpg" alt="attribute">
  1. After you submit the changes, clear your web browser’s cache and access your web page.

hotlink protection 3

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...

How to Disable PHP Error Messages

When running a PHP-based website in a production environment, it's crucial to disable PHP error messages to prevent sensitive information from being exposed to users. AwardSpace offers a variety of hosting plans tailored to different needs, all of which support...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...

How to Disable PHP Error Messages

When running a PHP-based website in a production environment, it's crucial to disable PHP error messages to prevent sensitive information from being exposed to users. AwardSpace offers a variety of hosting plans tailored to different needs, all of which support...

How to Enable Ioncube Loader

Enabling Ioncube Loader on your server is crucial for running encrypted PHP files. At AwardSpace, we understand the importance of a quick and easy setup process for your web hosting needs. Whether you are a developer looking to secure your code or a business running...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.