WordPress image upload http error

If you’re one of the frustrated users who are excited to upgrade to the latest version of WordPress 2.5.x only to be turned-off by the image upload function, then read on.

The new version has great way in handling media upload, it is a redesign from the previous version. It is sleek and simple but because of it’s AJAX implementation, loading seems like a little slow.

Aside from this slow loading issue, I can’t seem to upload a single image. I tried several times and still the same, failed to upload. No issue with images hosted somewhere else, it’s just when trying to upload an image that this issue occur with the following message:

I just found that this has something to do with Apache’s mod_security.

Mod_security is a module for your Apache server. You can think of mod_security as a firewall for your Apache. It works as a intrusion detection system, and helps to shields you from a number of different attacks, such as SQL injection attacks, cross-site scripting and other nasties.

The problem with disabling mod_security is that you make it easier for hackers to compromise your system. However if you use a .htaccess file the security risk is limited, as you are only disabling mod_security for async-upload.php

Here’s how to correct it:

  1. Connect to your server using FTP client, CPanel or or shell terminal and navigate to the WordPress root folder. This is usually located in /home/userID/public_html or sub-folders below it.
  2. Find .htaccess and edit it. If there isnt any .htaccess file, create one.
  3. Editing the file depends on your text editor. Insert the following at the bottom of .htaccess:
  4. <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off

  5. Save the file. You should be able to upload now..


After going through the above procedure, hacking WP to get the media upload working. Some kind soul managed to create a WP plugin that fixed the issue. It’s not a 100% solution though as users are still reporting the same problem after installing this plugin. Get it here:

This is an update for those using the 2.6.x version that are still experiencing this issue:

  1. Login to your WordPress blog as an admin
  2. Go to “Settings”
  3. Click the menu-tap “Miscellaneous”
  4. Change “Store uploads in this folder” settings from “wp-content” to “wp-content/uploads
  5. Click save and you’re all done!


  1. Pingback: aiw-shop.org

  2. Pingback: treatpeoplegood.org

  3. Pingback: about his

  4. Pingback: 411 pain car accident

  5. Pingback: medjobla.org

  6. Pingback: k-stud.org

  7. Pingback: joslindubai.org

  8. Pingback: find this

  9. Pingback: denver personal injury attorney

  10. Pingback: german-documentaries.org

  11. Pingback: gold-power.org

  12. Pingback: porntube

  13. Pingback: harboes-bryggeri.org

  14. Pingback: cebu

  15. Pingback: sextube

  16. Pingback: free porn

  17. Pingback: globalintake.org

  18. Pingback: paulpaulito.org

  19. Pingback: olivermarlow.net

  20. Pingback: where can i buy pure garcinia cambogia

  21. Pingback: best garcinia cambogia reviews

  22. Pingback: viagra store

  23. Pingback: pure garcinia cambogia reviews

  24. Pingback: where can you buy garcinia cambogia

  25. Pingback: Los Angeles legal recruiter

  26. Pingback: impactforum2012.org

  27. Pingback: garcinia cambogia extract reviews

  28. Pingback: advanced ambulance

  29. Pingback: Hosting coupon Code

  30. Pingback: angel medflight

  31. Pingback: porno

  32. Pingback: spice mills

  33. Pingback: mosilab.org

  34. Pingback: rubyopensourcechallenge.com

  35. Pingback: investment

  36. Pingback: techranchaustindocs.com

  37. Pingback: foreningsfonden.org

  38. Pingback: viagra

  39. Pingback: dobra depilacja

  40. Pingback: gdy miec imponujace cialo

  41. Pingback: free online slot machine games no download no registration

  42. Pingback: dougscottplymouth2013.org

  43. Pingback: life assurance

  44. Pingback: Viagra

  45. Pingback: ciocador.info

  46. Pingback: femmenaturalboost.com

  47. Pingback: LA Kings

  48. Pingback: csr-bg.org

  49. Pingback: pvc for girls

  50. Pingback: farming simulator 2015 mods

Leave a Comment

Your email address will not be published. Required fields are marked *