To upload any file type to WordPress, you can modify the wp-config.php file on your server.
After making this modification, you will be able to upload files with any extension to WordPress.
Steps to upload files of any type to WordPress
Access your server, open wp-config.php script.
Place your cursor just before this block of code which should be at the end of the script:
/* That's all, stop editing! Happy publishing. */
Add the following line of code to allow uploading files of different extension:
define('ALLOW_UNFILTERED_UPLOADS', true);
Would you like to know how to upload files of any size to WordPress?