This article explained in details how to upload .exe file in WordPress and we also include solution to upload other file types to your WordPress website.
We have received so much complain from users that they were not able to upload .EXE file in WordPress.
Because of security reasons, WordPress does not allow their users to upload files or MIME types. They only permit video, audio, images and other related files.
JonakyBlog have gotten a 100% working solution on how to upload .exe file in WordPress.
In some of our previous article, we explained with screenshots on how to upload .apk file in WordPress successfully.
We at JonakyBlog only publish articles that has been tested and confirmed, because we value our noble visitors.
Below is an .exe file (software) that we successfully upload to JonakyBlog; which triggers us to release this article.
Type of file: Application (.exe)
Description: 7-Zip Installer (It can be used to compress files into .zip format)
Size: 1.37 MB (1,447,178 bytes)
Download link: https://jonakyblog.com/7z1900-x64/
Other files that you can upload by following the instructions is this article are: .mpp, .docx, .rar, .zip, .class, .swf, .html, .css, .wp, .pdf, .pages, .key, .ram, .csv, etc.
What Are MIME Types?
According to Techterms, A MIME type or “media type” is a text string that identifies a specific file format. It consists of two parts — a type and a subtype — separated by a forward slash. For example, the MIME type of a plain text file is: text/plain.
MIME is an abbreviation which stands for Multipurpose Internet Mail Extensions.
MIME is an Internet Assigned Numbers Authority (IANA) media type.
MIME types are defined and standardized in IETF’s RFC 6838.
WordPress developers can use the function get_allowed_mime_types() to call the default allowed WordPress MIME types.
The list of all the MIME types that WordPress allowed for their users can be found at allowed_mime_types.
Can I Upload Any File Extension to WordPress?
If you try to upload any file that is not listed among the WordPress allowed MIME types, you’ll receive an error message; as shown below.
Sorry, this file type is not permitted for security reasons.
In order for you not to receive this error message, we have decided to elucidate the proper steps you should follow to upload any file extension successfully in your WordPress website.
Steps on How to upload .EXE in WordPress
- Login to WordPress, click on Plugins > Add New
- Click on “Search Plugins…” and type “WP Add MIME Types”
- Install WP Add MIME Types and Activate it
- Go to Settings > Mime type setting, scroll down and click on “Add values”
- Copy the value of the file you wish to upload and paste it in the field provided
- Click “Save” button, to save changes
I’ll explain each of the above stated steps using appropriate screenshots where necessary.
Step 1: Go to Plugins > Add new
Login to WordPress, click on Plugins > Add New
Step 2: Search for WP Add MIME Types
Now click on “Search plugins…” and type “WP Add Mime Types” in the search field.
Note: WP Add Mime Types is developed by Kimiya Kitani
Step 3: Install and Activate WP Add MIME Types
From above image, you will see that I have installed “WP Add Mime Types” and it’s active.
Step 4: Go to Settings > Mime type setting > Add values
Go to Settings (which is located at the left-side bar in your WordPress dashboard) and click on Mime type setting, scroll down and click on “Add values”
Step 5: Copy .exe value and paste in the field provided
In this guide, we’re aiming at uploading .exe file successfully. So I’ll give you the VALUE that will enable you to upload Windows Application.
Copy below text and paste it in field provided for you in the Plugin.
exe = application/x-msdownload
Below image explains how to successfully copy and paste the value for each restricted MIME type you wish to upload.
Step 6: Save changes
Remember to click on “Save” which is located below “Add Values” as shown in the image above.
Now you can successfully upload .exe file to WordPress without receiving any error message.
Below Are List of Default MIME Types Allowed by WordPress
From get_allowed_mime_types() by WordPress, below are some of the files that you can satisfactorily upload to WordPress without receiving error message.
In case if you’re using old version of WordPress that does not support some of these files, you can copy below values and paste it in the “Add Value” space provided in the plugin.
|File Extension||MIME Type|
|jpg||= image/jpeg, image/pjpeg|
|jpeg||= image/jpeg, image/pjpeg|
|ppt||= application/mspowerpoint, application/powerpoint, application/vnd.ms-powerpoint, application/x-mspowerpoint|
|pps||= application/mspowerpoint, application/vnd.ms-powerpoint|
|xls||= application/excel, application/vnd.ms-excel, application/x-excel, application/x-msexcel|
|mp3||= audio/mpeg3, audio/x-mpeg-3, video/mpeg, video/x-mpeg|
|wav||= audio/wav, audio/x-wav|
|wmv||= video/x-ms-asf, video/x-ms-wmv|
|avi||= application/x-troff-msvideo, video/avi, video/msvideo, video/x-msvideo|
|mpg||= audio/mpeg, video/mpeg|
|3gp||= video/3gpp, audio/3gpp|
|3g2||= video/3gpp2, audio/3gpp2|
List of WordPress Restricted MIME Types
Below table shows list of files that are restricted by WordPress.
For you to upload this restricted files, follow step 5 above to properly copy the file value and paste it in the field provided.
|File Extension||MIME Type|
SOME FREQUENTLY ASKED QUESTIONS
How do I upload an EXE file to WordPress?
To upload EXE file to WordPress, carefully follow the six (6) steps listed above.
You can see the .exe file that was uploaded to JonakyBlog; this proves to you that the above steps has been tested and confirmed.
What files can be uploaded to WordPress?
From our research, you can upload almost all the file types that ever exist in this planet earth; including: .exe, .apk, .zip, .pdf, .css, .docx etc.
All you need is for you to simultaneously follow the write ups and images that were elucidated in this article.
What is the maximum upload size for WordPress?
Depending on the hosting company and the hosting plan that you’re using, you can upload files up to 1GB or more in your WordPress website.
WordPress usually limits the upload size to about 128MB, to avoid server timeout.
Does WordPress Allow zip files upload?
Yes! For you to upload a .zip file without receiving any error message, follow the steps listed above. When you get to step 5, replace “exe = application/x-msdownload” with the code below.
zip = application/zip
Can I upload any file to WordPress?
The answer is YES! If you wish to be uploading random files to your WordPress site, all you need is to copy all the VALUES listed in the two tables above.
Then follow step 5 above to paste those values in the “Add Value” field provided.
Remember to save changes.
With this guide, you can satisfactorily upload any file format to WordPress without receiving any error message.
We focused on showing you how to upload .exe files, then we extended our content to show you how to upload other WordPress restricted files as well.
Some frequently asked questions were also answered in order to get you started.
If you want to upload Android Apps, follow this guide on how to upload Apk to WordPress.