logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

02
DAYS
20
HOURS
18
MINUTES
25
SECONDS
Black Friday Sale: Web Hosting
From £0.80 /Month!
See All Deals
×

Knowledge base

Find articles and information about all features, troubleshooting guides,
and other technical information on Hostinger's 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.