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 Moodle

You can install Moodle on all AwardSpace web hosting plans. This includes our free web hosting, shared hosting, and the advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. You can also install Moodle in minutes, whichever you choose. Keep in...

How to Check If SELinux Is Enabled in MediaWiki

Although installing MediaWiki and logging in to the platform is a simple task, setting up the CMS can be challenging at times, especially when the process involves server configurations. A critical aspect of web server security is the so-called Security-Enhanced Linux...

How to View and Manage Recent Images in MediaWiki

MediaWiki offers numerous versatile tools that help you manage and display recent images on your wiki pages. This guide showcases how to view and manage recent images in MediaWiki, so you can make it easier for logged-in users and admins to organise image content on...

How to Enable and Customize User Glow in MediaWiki

Now that you have installed MediaWiki and logged in to the admin panel, and you also learned how to add modules, it is time to make your wiki a bit more engaging and user-friendly. There are numerous ways to customize your Wiki project and one handy approach is to add...

How to Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...



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 Moodle

You can install Moodle on all AwardSpace web hosting plans. This includes our free web hosting, shared hosting, and the advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. You can also install Moodle in minutes, whichever you choose. Keep in...

How to Check If SELinux Is Enabled in MediaWiki

Although installing MediaWiki and logging in to the platform is a simple task, setting up the CMS can be challenging at times, especially when the process involves server configurations. A critical aspect of web server security is the so-called Security-Enhanced Linux...

How to View and Manage Recent Images in MediaWiki

MediaWiki offers numerous versatile tools that help you manage and display recent images on your wiki pages. This guide showcases how to view and manage recent images in MediaWiki, so you can make it easier for logged-in users and admins to organise image content on...

How to Enable and Customize User Glow in MediaWiki

Now that you have installed MediaWiki and logged in to the admin panel, and you also learned how to add modules, it is time to make your wiki a bit more engaging and user-friendly. There are numerous ways to customize your Wiki project and one handy approach is to add...

How to Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...

How to Fix MediaWiki Internal Error: A Step-By-Step Guide

MediaWiki Internal Error message can be very frustrating and can significantly harm your MediaWiki project. Luckily, the issue can be fixed in a few easy-to-follow steps to get your website up and running in no time. There are various causes for the issue: Incorrect...

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.