WordPress 2.5 Image Upload Error [WordPress Fix]

wordpress image upload error

The new WordPress 2.5 is great, especially it’s new approached used to handle images upload. However some WordPress users might encounter problems uploading images, getting stucked with error messages similar to the following:

  • HTTP error
  • An error occurred in the upload. Please try again later.

If you fail to upload images with the error messages above, here’s a fix for it. Prepare your favorite text editor, FTP program (or shell terminal) and following these following steps:

Step 1

Using FTP, or shell terminal navigate to the root of your WP folders. Download .htaccess and open it with text editor. If there isnt any .htaccess file, create one.

where is .htaccess

Step 2

Insert the following script into .htaccess.

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off

If there’s existing script inside your .htaccess, just put the code above below it.

insert fix here

Step 3

Save, and upload to replace your current .htaccess. Go to WordPress admin, you should be able to upload your image now.


This post is published by a Hongkiat.com staff (editors, interns, sometimes Hongkiat Lim himself) or a guest contributor.