How to Upload .EXE File in WordPress [Well Explained]

Upload .exe wordPress

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.

Also read:   How to Add Post Featured Image in WordPress [Ultimate Guide]

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.

All browsers use the MIME type (e.g. application/javascript, application/x-msdownload), not the file extension (.js, .exe), to determine how to process a URL.

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

  1. Login to WordPress, click on Plugins > Add New
  2. Click on “Search Plugins…” and type “WP Add MIME Types”
  3. Install WP Add MIME Types and Activate it
  4. Go to Settings > Mime type setting, scroll down and click on “Add values”
  5. Copy the value of the file you wish to upload and paste it in the field provided
  6. 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

Upload exe wordPress - 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.

Also read:   How to install WordPress on any web host [beginners guide]

Note: WP Add Mime Types is developed by Kimiya Kitani

Upload exe wordPress - wp add MIMI types

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.

Upload exe wordPress - Add Values

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 ExtensionMIME Type
jpg = image/jpeg, image/pjpeg
jpeg = image/jpeg, image/pjpeg
png = image/png
gif = image/gif
ico = image/x-icon
pdf = application/pdf
doc = application/msword
docx = application/vnd.openxmlformats-officedocument.wordprocessingml.document
ppt = application/mspowerpoint, application/powerpoint, application/vnd.ms-powerpoint, application/x-mspowerpoint
pptx = application/vnd.openxmlformats-officedocument.presentationml.presentation
pps = application/mspowerpoint, application/vnd.ms-powerpoint
ppsx = application/vnd.openxmlformats-officedocument.presentationml.slideshow
odt = application/vnd.oasis.opendocument.text
xls = application/excel, application/vnd.ms-excel, application/x-excel, application/x-msexcel
xlsx = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
psd = application/octet-stream
mp3 = audio/mpeg3, audio/x-mpeg-3, video/mpeg, video/x-mpeg
m4a = audio/m4a
ogg = audio/ogg
wav = audio/wav, audio/x-wav
mp4 = video/mp4
m4v = video/x-m4v
mov = video/quicktime
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
ogv = video/ogg
3gp = video/3gpp, audio/3gpp
3g2 = video/3gpp2, audio/3gpp2
Table showing List of Default MIME Types Allowed by WordPress

List of WordPress Restricted MIME Types

Below table shows list of files that are restricted by WordPress.

Also read:   How to Find Free Wordpress Themes and Properly Install Them ?

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 ExtensionMIME Type
bmp = image/bmp
tif = image/tiff
tiff = image/tiff
asf = video/x-ms-asf
asx = video/x-ms-asf
wm = video/x-ms-wm
wmx = video/x-ms-wmx
divx = video/divx
flv = video/x-flv
qt = video/quicktime
mpe = video/mpeg
webm = video/webm
mkv = video/x-matroska
txt = text/plain
asc = text/plain
c = text/plain
cc = text/plain
h = text/plain
csv = text/csv
tsv = text/tab-separated-values
ics = text/calendar
rtx = text/richtext
css = text/css
htm = text/html
html = text/html
m4b = audio/mpeg
ra = audio/x-realaudio
ram = audio/x-realaudio
mid = audio/midi
midi = audio/midi
wax = audio/x-ms-wax
mka = audio/x-matroska
rtf = application/rtf
js = application/javascript
swf = application/x-shockwave-flash
class = application/java
tar = application/x-tar
zip = application/zip
gz = application/x-zip
gzip = application/x-zip
rar = application/rar
7z = application/x-7z-compressed
exe = application/x-msdownload
pot = application/vnd.ms-powerpoint
wri = application/vnd.ms-write
xla = application/vnd.ms-excel
xlt = application/vnd.ms-excel
xlw = application/vnd.ms-excel
mdb = application/vnd.ms-access
mpp = application/vnd.ms-project
docm = application/vnd.ms-word.document.macroEnabled.12
dotx = application/vnd.openxmlformats-officedocument.wordprocessingml.template
dotm = application/vnd.ms-word.template.macroEnabled.12
xlsm = application/vnd.ms-excel.sheet.macroEnabled.12
xlsb = application/vnd.ms-excel.sheet.binary.macroEnabled.12
xltx = application/vnd.openxmlformats-officedocument.spreadsheetml.template
xltm = application/vnd.ms-excel.template.macroEnabled.12
xlam = application/vnd.ms-excel.addin.macroEnabled.12
pptm = application/vnd.ms-powerpoint.presentation.macroEnabled.12
ppsm = application/vnd.ms-powerpoint.slideshow.macroEnabled.12
potx = application/vnd.openxmlformats-officedocument.presentationml.template
potm = application/vnd.ms-powerpoint.template.macroEnabled.12
ppam = application/vnd.ms-powerpoint.addin.macroEnabled.12
sldx = application/vnd.openxmlformats-officedocument.presentationml.slide
sldm = application/vnd.ms-powerpoint.slide.macroEnabled.12
onetoc = application/onenote
onetoc2 = application/onenote
onetmp = application/onenote
onepkg = application/onenote
odp = application/vnd.oasis.opendocument.presentation
ods = application/vnd.oasis.opendocument.spreadsheet
odg = application/vnd.oasis.opendocument.graphics
odc = application/vnd.oasis.opendocument.chart
odb = application/vnd.oasis.opendocument.database
odf = application/vnd.oasis.opendocument.formula
wp = application/wordperfect
wpd = application/wordperfect
key = application/vnd.apple.keynote
numbers = application/vnd.apple.numbers
pages = application/vnd.apple.pages
Table showing List of WordPress Restricted MIME Types

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.

Conclusion

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.

Check out

  1. Learn how to Add Share Buttons to WordPress without Plugin ☑ [Explained]
  2. How to Setup OneSignal Push Notifications in WordPress [Explained]
  3. How to Speed Up WordPress Loading Time [Ultimate Guide]
Share this article:
Sign up for my newsletter ⤵

get all the fresh content directly to your email.

After you have subscribed, check your email inbox to confirm your subscription.




Man Behind JonakyBlog

Author | Admin

Nnabugwu Ikechukwu Johnbosco is a part time blogger that love to blog on categories like; Blogging, WordPress development, Technology, Web Design, Make money online, etc. A web developer (plays with WordPress sites & Blogger); who designed JonakyBlog. (Contact Us)

View all posts by Admin →

Leave a Reply
Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic!

Your email address will not be published.