How to add additional MIME types with .htaccess?

MIME is the standard for attaching non-text files, such as images, audio, documents, etc., to e-mails. By default, only the “text/html” MIME type is supported. You can add additional MIME types using the .htaccess file.

First, set the folder in which the .htaccess file will be created, using the .htaccess location form at the top of the page. A click in the form field will open a pop-up window, from where you can browse to the desired website folder.

Then, go to the additional MIME types menu. In there, mark the Enter new MIME: checkbox and enter the new MIME types that you want. You can add multiple MIME types, separating them with commas. A list of popular MIME types can be found here.

Once you are done, scroll down to the bottom of the page and click the “Generate” button. The newly created .htaccess file will take effect in up to 15 minutes.