MIME Types Using .htaccess

Here we going to see MIME types using .htaccess. MIME is short for Multipurpose Internet Mail Extensions, But also modern MIME types apply to other services in addition to email. The MIME types help to identify what a file is or what file type is. Here the example, MIME types can assist a browser to determine what type of content is about to be processed so the browser can do the proper controls, media player or plugins to display the data perfectly.

The following instruction will help you to do in a proper way. For this first create a .htaccess file and add the following code.

The first “AddType” defines that you are adding a MIME type. The second section is the MIME type in this case text or HTML and the last one is an extension of the file ( example “.html”).

Was this article helpful?

Yes No
×

How can we improve it?

×

We appreciate your helpul feedback!

Your answer will be used to improve our content. The more feedback you give us, the better our pages can be.

Follow us on social media:

Facebook Pinterest

Mraj

Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top

DON’T MISS ANY UPDATE

Get notified about the next update

Pin It on Pinterest