Knowledge base

Find information and articles about features, guides for troubleshooting,
and other useful information related to Hostinger's web hosting services.

How to add file extension to MIME types?

Modified on:
MIME MIME types add file extension file extension

You can add an extension to mime types with the help of .htaccess file. For example, if you need to configure your server to display ASX files, the following line should be added:

AddType video/x-ms-asf asf asx
Another example is for Windows Media Audio files (WMA):
AddType audio/x-ms-wma .wma

A longer list of available types can also be found here.

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
39
00
/mo
Save 90%
Get started