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: sol-instruments.info

  2. Pingback: Pure Garcinia Cambogia Extract

  3. Pingback: Custom home builder Lake Norman

  4. Pingback: interspacetickets.com

  5. Pingback: Bed bug dogs

  6. Pingback: check more info

  7. Pingback: code de la route

  8. Pingback: interior design company dubai

  9. Pingback: buy viagra

  10. Pingback: clickbank

  11. Pingback: zobacz oferte

  12. Pingback: tutaj

  13. Pingback: polecam link

  14. Pingback: merchant processing

  15. Pingback: pebble tiles

  16. Pingback: lorenzo

  17. Pingback: Viagra

  18. Pingback: Source

  19. Pingback: sophia hills

  20. Pingback: fake rolex watches sale

  21. Pingback: Best Movies On Netflix

  22. Pingback: Santa Clarita Restaurants

  23. Pingback: best condo

  24. Pingback: menoquil

  25. Pingback: novelty techpoint

  26. Pingback: muslim marriage events

  27. Pingback: ultrasafefingerflange.com

  28. Pingback: chicago sex crimes lawyer

  29. Pingback: Popcorntime

  30. Pingback: Vis te koop

  31. Pingback: check now here

  32. Pingback: virustorjunta.info

  33. Pingback: businesstelephonesystemsguide.co.uk

  34. Pingback: Crime scene clean up

  35. Pingback: myjungfrauregion.com

  36. Pingback: muslim marriage events

  37. Pingback: náhradní díly

  38. Pingback: bya5844.com

  39. Pingback: ctsoupkitchen.com

  40. Pingback: Videos Gays

  41. Pingback: mizuno women shoes

  42. Pingback: mirhaydaricapital.info

  43. Pingback: Jujitsu

  44. Pingback: Crime scene cleaners

  45. Pingback: chathamparknc.info

  46. Pingback: government business grants

  47. Pingback: masaj

  48. Pingback: government grants

  49. Pingback: arbitrationacademy-students.org

  50. Pingback: tre residences

Leave a Comment

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