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
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.
Click on the media you’ve uploaded – see screenshot below
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.
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]