Normally you cannot upload Apk and other files in WordPress except you use some tricks of which one of them is what I explained in this guide.
WordPress only allows you to upload images, audios and videos. They do this for security reasons.
But many WordPress users blog on different categories and sometimes needs to upload other files apart from images, audios and videos.
For example here at JonakyBlog we developed an android application (.apk) which is not yet uploaded in Google Play store but we want our visitors to download our android application directly from our blog and not from external website.
With the help of this article, you can successfully host all your files in your WordPress website.
Default Error Message when you try to upload Apk and other files in WordPress
If you try to upload other file extension like .apk, you will receive an error message with
Sorry, this file type is not permitted for security reasons.
See screenshot as shown below

Steps on how to upload Apk files in WordPress
- Login to your dashboard, 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 settings, scroll down to “Add values”
- Now copy the value of the files you want to upload and paste it in the field provided.
- Hit “Save” button to save changes.
Continue reading this article to see how I explained this six steps using appropriate screenshot.
JonakyBlog have made series of research and find out the easiest way to upload apk files in WorPress. This process works perfectly in all WordPress websites. We at JonakyBlog have tested this method to upload our android app and it worked perfectly.
You can see details of JonakyBlog android app here
WordPress makes blogging easy by creating room for their users to use plugins instead of writing the whole code in order to achieve what they want.
This method of uploading apk and other files involves the use of plugin for it to work perfectly. Although too much plugins usually slow down your WordPress website.
We at JonakyBlog have tried using PHP code to achieve this but it didn’t work. Below are the steps you need to follow to upload apk file to your WordPress website.
Step 1: Go to Plugins > Add new
Login to your dashboard, click on Plugins > Add New

Step 2: Search for “WP Add Mime Types” Plugin
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” Plugin
As you can see from the above screenshot, I installed “WP Add Mime Types” and it’s active.
Step 4: From Settings, go to Mime type settings > Add values
From your dashboard go to Settings > Mime type settings, scroll down to “Add values”
Step 5: Copy & paste the value of the file you wish to upload.
If you wish to upload .apk file to your WordPress website, copy below code and paste it in the field provided for you to “Add Values”.
apk = application/vnd.android.package-archive
Now paste the code you’ve copied in the space provided for you to define the type of file that you wish to be uploading to your WordPress website.
See screenshot below.

Finally hit save to save changes you’ve made. see screenshot above
If you follow all these processes, you can now upload apk files without receiving the error message.
How to upload other file types in WordPress
Follow step 1 and 2 but when you get to “Add value”, choose from the below table the file you wish to upload and include the code in the space provided for you.
See screenshot below this table
jpg|jpeg|jpe | = | image/jpeg |
gif | = | image/gif |
png | = | image/png |
bmp | = | image/bmp |
tiff|tif | = | image/tiff |
ico | = | image/x-icon |
heic | = | image/heic |
asf|asx | = | video/x-ms-asf |
wmv | = | video/x-ms-wmv |
wmx | = | video/x-ms-wmx |
wm | = | video/x-ms-wm |
avi | = | video/avi |
divx | = | video/divx |
flv | = | video/x-flv |
mov|qt | = | video/quicktime |
mpeg|mpg|mpe | = | video/mpeg |
mp4|m4v | = | video/mp4 |
ogv | = | video/ogg |
webm | = | video/webm |
mkv | = | video/x-matroska |
3gp|3gpp | = | video/3gpp |
3g2|3gp2 | = | video/3gpp2 |
txt|asc|c|cc|h|srt | = | text/plain |
csv | = | text/csv |
tsv | = | text/tab-separated-values |
ics | = | text/calendar |
rtx | = | text/richtext |
css | = | text/css |
htm|html | = | text/html |
vtt | = | text/vtt |
dfxp | = | application/ttaf+xml |
mp3|m4a|m4b | = | audio/mpeg |
aac | = | audio/aac |
ra|ram | = | audio/x-realaudio |
wav | = | audio/wav |
ogg|oga | = | audio/ogg |
flac | = | audio/flac |
mid|midi | = | audio/midi |
wma | = | audio/x-ms-wma |
wax | = | audio/x-ms-wax |
mka | = | audio/x-matroska |
rtf | = | application/rtf |
js | = | application/javascript |
= | application/pdf | |
class | = | application/java |
tar | = | application/x-tar |
zip | = | application/zip |
gz|gzip | = | application/x-gzip |
rar | = | application/rar |
7z | = | application/x-7z-compressed |
psd | = | application/octet-stream |
xcf | = | application/octet-stream |
doc | = | application/msword |
pot|pps|ppt | = | application/vnd.ms-powerpoint |
wri | = | application/vnd.ms-write |
xla|xls|xlt|xlw | = | application/vnd.ms-excel |
mdb | = | application/vnd.ms-access |
mpp | = | application/vnd.ms-project |
docx | = | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
docm | = | application/vnd.ms-word.document.macroEnabled.12 |
dotx | = | application/vnd.openxmlformats-officedocument.wordprocessingml.template |
dotm | = | application/vnd.ms-word.template.macroEnabled.12 |
xlsx | = | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
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 |
pptx | = | application/vnd.openxmlformats-officedocument.presentationml.presentation |
pptm | = | application/vnd.ms-powerpoint.presentation.macroEnabled.12 |
ppsx | = | application/vnd.openxmlformats-officedocument.presentationml.slideshow |
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|onetoc2|onetmp|onepkg | = | application/onenote |
oxps | = | application/oxps |
xps | = | application/vnd.ms-xpsdocument |
odt | = | application/vnd.oasis.opendocument.text |
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|wpd | = | application/wordperfect |
key | = | application/vnd.apple.keynote |
numbers | = | application/vnd.apple.numbers |
pages | = | application/vnd.apple.pages |
apk | = | application/vnd.android.package-archive |
Screenshot below shows other files I also included their code in the “Add value” space so that I can also upload them.

Remember to hit “save” button after adding those codes.
How to upload files in WordPress
From your dashboard go to Media > Add New > Select Files and choose the file you want to upload.

Select the apk file you wish to upload if you’re uploading apk. Guess what! You will not receive that error message again.
How to use uploaded files in your WordPress website or any other place
Uploading files in WordPress is very simple. Just follow the steps below.
Step 1
Click on the media you’ve uploaded – see screenshot below

Step 2
Once you clicked on the file you wish to use, it will open a pop up frame within your screen. From the pop up, you will see “Copy URL”.
After you have copied the URL, you can now embed it in your WordPress website or any other web platform by calling a call-to-action download button.
See screenshot below

If you don’t know how to embed uploaded files (e.g. Apk) in WordPress, you can check out our Android app for more details.
Below are some of the frequently asked questions with their answers.
How do I upload an APK file to WordPress?
For you to successfully upload APK file to WordPress, follow the six steps that I listed above.
Some users that have tested this method and they gave us feedback on how they successfully upload Android application to their WordPress website.
How do I add a MIME Type to WordPress?
To add MIME types to WordPress, follow the guideline that I listed above.
This guideline will help you to: install the MIME types plugin, activate it and copy the default WordPress unsupported files that you wish to upload to your WordPress website.
You can check screenshoots above to see how we successfully upload .apk file to JonakyBlog.
How do I use WordPress extra file types?
Other WordPress extra file types include: .pdf, .exe, .docx, .zip, .aac, .3gp etc. For you to upload them, you must first of all install and activate the recommended plugin that I explained in this article.
Then you can now copy each file code and paste in the “Add Value” field provided for you.
All the steps you need to follow has been explained above.
What type of files can I upload to WordPress?
From research, JonakyBlog have find out that you can upload almost all file types to your WordPress website.
All you need is to accurately follow the steps that I listed above.
Conclusion
We have made this article to help other WordPress bloggers to upload different file types apart from image, audio and video.
With the guide in this article, you can successfully upload apk and other files in your WordPress website. This method has been tested, trusted and confirmed.
If you find this article helpful, do well to share it to your social media handles and to your friends.
Oops! Before I forget please remember to drop your comment after applying the whole methods. We value your comment.
Here are other posts you should read:
- Learn how to create WordPress contact form without plugin (ultimate guide)
- How to Add Share Buttons to WordPress without Plugin
- How to View the Source Code of Any Website [ultimate guide]
It works perfectly, thanks
Thank you for dropping your comment.
We value you.
JonakyBlog
How sir such an eye opener…nice niche.. kudus
Thank you
It’s very informative for users on WordPress. And it’s also good how you explains in very simple and clear words. Hope you will be creating more articles like this in future. And a very warm welcome to our forum again.
Webtecal thanks for sharing your experience here.
Am glad you find my article helpful.
Nice
Thanks
Its like you read my mind! You seem to understand so much about this, like you wrote the
guide in it or something. I think that you could do with
some % to drive the message house a little bit,
but instead of that, that is magnificent blog. A fantastic read.
I’ll certainly be back.