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 Remove a Product in OpenCart

After installing OpenCart and logging in to the dashboard, you can start adding and removing products immediately. We have already covered how to add products in OpenCart, and in this article, we share simple steps to delete products from your store with only a few...

How to Add Products in OpenCart

The most important element in your OpenCart project is the products you will offer your site visitors. In the following paragraphs, we share how to add products to your OpenCart website.   How to Create Products in Opencart The process of adding new products in...

How to Log in to OpenCart

After you install OpenCart, you can log in to the platform and start working on your project right away. To log in, you should open the OpenCart login page and enter the credentials you chose when installing the CMS. This will open the platform’s admin panel. In the...

How to Install OpenCart

You can install OpenCart on every AwardSpace web hosting plan, including our free web hosting, shared hosting, and advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. Keep in mind that all of the AwardSpace hosting services are tailored to run...

How to Change My Last Name in Moodle

If you are asking yourself "How to change my last name in Moodle", then you are at the right place. This guide will walk you through the steps for changing your last name in Moodle while addressing common concerns like ratings and discussions.   How to Change My...



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 Remove a Product in OpenCart

After installing OpenCart and logging in to the dashboard, you can start adding and removing products immediately. We have already covered how to add products in OpenCart, and in this article, we share simple steps to delete products from your store with only a few...

How to Add Products in OpenCart

The most important element in your OpenCart project is the products you will offer your site visitors. In the following paragraphs, we share how to add products to your OpenCart website.   How to Create Products in Opencart The process of adding new products in...

How to Log in to OpenCart

After you install OpenCart, you can log in to the platform and start working on your project right away. To log in, you should open the OpenCart login page and enter the credentials you chose when installing the CMS. This will open the platform’s admin panel. In the...

How to Install OpenCart

You can install OpenCart on every AwardSpace web hosting plan, including our free web hosting, shared hosting, and advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. Keep in mind that all of the AwardSpace hosting services are tailored to run...

How to Change My Last Name in Moodle

If you are asking yourself "How to change my last name in Moodle", then you are at the right place. This guide will walk you through the steps for changing your last name in Moodle while addressing common concerns like ratings and discussions.   How to Change My...

How to Change Your Name in Moodle

Changing your name in Moodle is a very simple task and requires only a few minutes of your time.   How to Change My Name in Moodle The process is comprised of a few easy-to-follow steps:   Step 1: Log in to Moodle After installing the CMS, you should log in...

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.