Some files not permitted by wordpress to upload
When we upload that files wordpress showing error ” Sorry, this file type is not permitted for security reasons.”
1. How to fix ” Sorry, this file type is not permitted for security reasons. “
Step 1. if you want to fix this error you have to download WP Add Mime Types plugin. The plugin additionally allows the mime types and file extensions to WordPress. In other words, your WordPress site can upload various file extensions.
Step 2. After installation go to WordPress Settings > Mime Type Settings
Step 3. Add Values in WP Add Mime Types Admin Settings,
About the mime type list, please see the list of mime types in the information of the Internet.
Ex. http://www.freeformatter.com/mime-types-list.html
When you add the mime type or file extension, the data will be added to the last item in this list at the red color
Note :- After adding Mime Types your wordpress error ” Sorry, this file type is not permitted for security reasons.” will be fixed
2. How to fix ” Unexpected response from the server. The file may have been uploaded successfully Check in the Media Library or reload the page. “
Kindly Follow the below step to fix this error
Step1. Go to MultiPHP INI Editor in cPanel
From Configure PHP INI basic settings select your domain name and set the following configuration
max_execution_time = 3000
max_input_time = 6000
memory_limit = 1024M
post_max_size = 512M
upload_max_filesize = 512M
After configuration, Unexpected response from the server. The file may have been uploaded successfully error will be fixed for any question or query please comment below
Hey hostkarle ,
Awesome post with fantastic work. I truly appreciate your hard work and research that you have done.
Glad to say that you have introduced helpful & effective tips to fix the issue of File type is not permitted for security reasons and an unexpected response from the server.
You have elaborated each steps very nicely along with necessary information & helpful images that are true enough to understand. Your each steps are so clear and providing better understanding as well. Following the steps will be a great helping hand.
Eventually thanks for sharing your knowledge, ideas and such a helpful post.