This article explains how to resolve “Upload Failed! File not allowed.” error when uploading files with WordPress File Upload plugin.
This error means that the file was rejected because either its extension or its filename were not allowed. Here is a list of actions to resolve this problem:
- Check file extension. The first thing to do is to check the file extension by following the instructions in Allowed File Types of WordPress File Upload Plugin article.
- Check filename. If everything is Ok with the file extension but the error still persists for some files, then the next thing to do is check the filename. Files containing more than one dot (.) in their filename (e.g. myfile.1.jpg) are by default not allowed, in order to protect the website from threats related to double extensions. This behavior is controlled by variable Wildcard Asterisk Mode, located in Advanced tab in the plugin’s area in Dashboard. To disable the dot restriction, set it to loose.
Please note that WordPress File Upload applies a strict policy regarding filenames and types of uploaded files. This is part of the overall security measures, adopted by the plugin, to protect against hacking attempts. You can read a detailed description about WordPress File Upload Security in this article.
For any questions, or further assistance please contact us.
The Iptanus team