HostKarle Support

How to fix file type is not permitted Unexpected response from the server WordPress Error

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

admin

Recent Posts

How to Move WordPress From Localhost to a Live Server

Learn how to move wordpress from localhost to live server: export XAMPP files and database,…

3 hours ago

What Happens When a Domain Expires?

Learn what happens when a domain expires, how grace and redemption periods work, what recovery…

14 hours ago

Best HostLelo Alternatives for Indian Websites (2026)

Compare HostLelo alternatives for Indian websites on renewal price, panels, email, SSL, backups, UPI payments…

20 hours ago

Wix vs WordPress for Indian Small Businesses

Compare wix vs wordpress for Indian small businesses: 3-year rupee cost, beginner ease, UPI/Razorpay payments,…

1 day ago

How to Transfer a Domain to Another Registrar

Learn how to transfer domain to another registrar: check the 60-day rule, unlock it, use…

2 days ago

DirectAdmin Backup: How to Back Up and Restore Your Site

Learn how to create a directadmin backup, download it off-server, and restore website files, databases,…

2 days ago

This website uses cookies.