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 a MediaWiki Skin

In MediaWiki, skins determine the visual appearance of your wiki website. Skins define how content is presented to users and include such settings for the overall website layout, typography, color scheme, and more. By default, when you install MediaWiki, the platform...

How to Create a Page in MediaWiki

Creating pages in MediaWiki is а core feature that allows you to add content to your MediaWiki website. Whether you are adding details for a project, contributing to a knowledge base, or anything else, learning how to create a page in MediaWiki is crucial for your...

How to Install MediaWiki Extensions

Now that you have installed MediaWiki and learned how to log in to the CMS, it is time to extend MediaWiki's functionality via extensions. MediaWiki extensions are sets of files that add various types of functionality to your MediaWiki website. You can use extensions...

How to Log In to MediaWiki

After you install MediaWiki, it is time to log in to the platform, so you can start working on your new MediaWiki website. To log in, you must open the MediaWiki login page and enter your credentials. Doing so will open the platform’s admin panel. In the following...

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...



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 a MediaWiki Skin

In MediaWiki, skins determine the visual appearance of your wiki website. Skins define how content is presented to users and include such settings for the overall website layout, typography, color scheme, and more. By default, when you install MediaWiki, the platform...

How to Create a Page in MediaWiki

Creating pages in MediaWiki is а core feature that allows you to add content to your MediaWiki website. Whether you are adding details for a project, contributing to a knowledge base, or anything else, learning how to create a page in MediaWiki is crucial for your...

How to Install MediaWiki Extensions

Now that you have installed MediaWiki and learned how to log in to the CMS, it is time to extend MediaWiki's functionality via extensions. MediaWiki extensions are sets of files that add various types of functionality to your MediaWiki website. You can use extensions...

How to Log In to MediaWiki

After you install MediaWiki, it is time to log in to the platform, so you can start working on your new MediaWiki website. To log in, you must open the MediaWiki login page and enter your credentials. Doing so will open the platform’s admin panel. In the following...

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

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...

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.