- Login to your cPanel
- Under the ADVANCED section, select the MIME Type option
- On the MIME Type edit box enter the file entension you want to open the file with (for example .php70). For multiple extensions, add them at once and separate with a space.
- Click the option “Add” to save the custom MIME type.
- You will get a successful message that MIME Type has been added
The added MIME Type is displayed in the user-defined MIME Types
- To remove a MIME type:
- Login to cPanel
- Under the ADVANCED section, select MIME Type option
- Under User Defined MIME Types, choose the extension(s) you want to remove and click the Delete link corresponding to the MIME type you want to delete.
- You will get a successful message of the removal of MIME type
The MIME type consists of a type and a subtype; these are each string which, when concatenated with a slash (/) between them, comprise a MIME type. No whitespace is allowed in a MIME type
type/subtype
The type represents the major general category into which the data type falls(audio or text). While the subtype identifies the accurate data of the specified type the MIME type represents to be served.