Error with Wordpress 2.5 uploader

When I first upgraded to Wordpress 2.5 I was having problems with the flash uploader. I kept getting an “HTTP Error,” and Wordpress was telling me to “Try again later.” I searched around the forums and dug through many useless threads until discovering that it could have something to do with mod_security. I then checked my logs, and sure enough, mod_security was the culprit. If you are having trouble with the uploader and you have mod_security installed, don’t turn off mod_security all together as was suggested on the Wordpress forums, just put this code into your .htaccess file (all on one line; copy and paste should work):

SetEnvIfNoCase Request_URI wp-admin/async-upload.php$ MODSEC_ENABLE=Off

Voila! You can now upload images.

  • StumbleUpon
  • Bumpzee
  • Digg
  • Technorati
  • del.icio.us
  • Reddit


Leave a Reply




You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Smilies: :D :) ;) :( more »

Comments Policy