30 March 2008 - 18:55Fix Wordpress 2.5 upload error - HTTP error

The solution for me was to edit the .htaccess file in the root directory of my webserver (the directory where Wordpress is installed). Add the following to the the .htaccess file after the “END WordPress”:

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

If you are having the problem of your .htaccess file losing its changes, you have most likely put something inside the Wordpress block of the .htaccess file. Keep any custom changes outside of that block or they will be overwritten.

These icons link to social bookmarking sites.
  • emailThis
  • del.icio.us
  • Digg
  • Reddit
  • StumbleUpon
  • Slashdot
  • Technorati
  • SphereIt

by Jon | | Tags: bugs, wordpress



Comments:

  1. Thanks a lot for this, I was really searching a fix for wp2.5

  2. You’re welcome. I know how aggravating this problem was.
  3. Hey,

    That was a very quick and easy help! Thanks very much.

  4. No problem, Pat.
  5. I cant get this to work and its driving me nuts!

  6. Jake, can you give me some more details about what all you have tried and the errors?
  7. This worked for me. I did not have an .htaccess file, but put the above code by itself into a new .htaccess file and it worked fine. Thx.

  8. Thanks man, that worked for me! But what was actualy wrong with 2.5? Why was that needed?

  9. I honestly don’t know what changed in WP2.5 to cause this error. The only thing that comes to mind is the new Flash uploader, but that may have nothing to do with the error itself.
  10. I saw that the server doesn’t recognize the esistence of the “uploads” folder and once You have created it again, after you upload a file, it doesn’t recognize the folder again, telling me the “uploads” folder doesn’t exist.


Add a Comment

 

Add the "Geek stuff" Google Gadget to your homepage

Apparel

Featured Tee

UneeTee.com

Search Amazon

Search Amazon.com
Search Amazon.co.uk

Advert

Web hosting by ICDSoft