Knowledgebase

Failed to upload image or file to wordpress

Issue:

There will be possibilities where you will not be able to upload any images or files to your wordpress site which are hosted in our server. Below are sample of issue that you might be facing.



Uploading a new image to the server using wordpress media library gives HTTP error.

Reason:

In most cases this issue will happened when ModSecurity is enabled. ModSecurity provide a mechanisme for apache web server to protect websites from known website attacks or hacking activity.

Solution:

Please login to your cPanel account and temporary disabled ModSecurity for your respective domain. You may follow How to Enable or Disable ModSecurity guide.


Notes:

Even though ModSecurity does not provide 100% web protection. We have seen enabling ModSecurity has able to help our customers to protect their websites from web hacking or web attacks. We do suggest for customer to re-enabled ModSecurity after they have made changes to their worpress website.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Failed to create new post or pages to wordpress

Issue:There will be a time where you will not be able to create a new post or pages to your...