Learn About MIME Types & How To Use Them Via The Shared Web Hosting Control Panel

Quick Intro

MIME Types enable browsers to recognize the file type of a file sent via HTTP by the webserver. As a result, the browser can choose a suitable displaying method. Common MIME types are, for example, text/html for html-files or image/jpeg for jpeg-files.

If the web server or application reports an incorrect MIME type for content, a web browser has no way, according to the HTTP specification, of knowing that the author intended the content to be processed and displayed differently from that implied by the reported MIME type.

Important To Know Before You Begin

The Web Host Most server offers the majority of MIME Types supported on the system level.
This functional must be used by skilled users only, becasue it can cause problems loading your resource if you set it up uncorrectly.

For example, when you add some files to the server, they might not be supported by default. In this case, you can add the new MIME type on your own for the server to recognize the extension.

Creating A New MIME Type

Let's say we want to add the .gif extension to your template files. (In our case, ".gif" is supported by default, but let's imagine it's not). You can add it as a new MIME type.

From your Web Control Panel, navigate to Development Tools > Mime Types > You'll see filelds to Add Mime Type > Type desired name, and add needed extension without the period before it > Click Add.

Was this answer helpful? 1 Users Found This Useful (1 Votes)