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: zbita szyba

  2. Pingback: agence web maroc installée à tanger spécialisée dans la création et le referencement de sites internet

  3. Pingback: création de sites web au maroc pas cher

  4. Pingback: référencement de sites internet au maroc

  5. Pingback: création et référencement de sites internet au maroc moins cher

  6. Pingback: creation site web maroc

  7. Pingback: création site internet maroc

  8. Pingback: aire acondicionado San Luis Potosí

  9. Pingback: grow taller with these exercises

  10. Pingback: creation et referencement de sites web au maroc

  11. Pingback: apple serwis poznań

  12. Pingback: aire acondicionado San Luis Potosí

  13. Pingback: go to this site

  14. Pingback: naprawa iphone poznan

  15. Pingback: référencement de sites internet au maroc

  16. Pingback: référencement de sites internet au maroc

  17. Pingback: zobacz oferte

  18. Pingback: création site web maroc et referencement naturel avec créations de backlink au maroc

  19. Pingback: polecam link


  21. Pingback: Création et référencement de sites web optimisé au maroc

  22. Pingback: agence de creation sites web au maroc avec referencement naturel

  23. Pingback: creation site web maroc et referencement naturel pas cher

  24. Pingback: facebook poker chips

  25. Pingback: where can i buy zynga poker chips

  26. Pingback: tablets and computers

  27. Pingback: sexshop

  28. Pingback: graphic design rates

  29. Pingback: logo t-shirt design services

  30. Pingback: developpement de sites internet optimisé et leus referencement au maroc à tanger

  31. Pingback: buy zynga poker chips

  32. Pingback: cyber terrorism

  33. Pingback: creation site internet marocl

  34. Pingback: création site web maroc

  35. Pingback: redirected here

  36. Pingback: création site internet maroc

  37. Pingback: Home Improvement

  38. Pingback: cliquez ici pour lire

  39. Pingback: saut à ce site web

  40. Pingback: alquiler villa en ibiza

  41. Pingback: Moving company auckaland


  43. Pingback: Confier nous la création de votre projet de site web et investir le monde du net en toute sécurité et développer ainsi votre activité et augmenter vos bénifices en ligne

  44. Pingback: grand seiko watch

  45. Pingback: Création sur mesure et référencement SEO professionnel de projets web de toutes catégories à Tanger

  46. Pingback: Jessenia Imler

  47. Pingback: large dog poop bags

  48. Pingback: vancouver seo

  49. Pingback: XXX

  50. Pingback: Emilie Lebario

Leave a Comment

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