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. Margherita

    Pretty element of content. I just stumbled upon your
    blog and in accession capital to assert that I acquire in fact loved account your blog
    posts. Any way I will be subscribing in your augment
    and even I achievement you get admission to persistently quickly.

  2. does genf20 plus really work

    I adore your blog.. excellent colors & theme. Did you create this site
    yourself or did you hire someone to do it for you?
    Plz answer back because I’m looking to make my own blog and would really like
    to know where u got this from. thanks.

  3. growth hormone bodybuilding

    I don’t leave a lot of comments on a lot of blogs yet i felt i needed to here.
    Top quality articles you have here.

  4. symbiotropin

    I’m pleased to become a visitor in this awesome website,
    thanks for this wonderful information!

  5. internet marketing salary in india

    What is your online advertising philosophy and technique? http://haprodanang.vn/component/k2/itemlist/user/406783

  6. dumpster rental douglasville

    I couldn’t refrain from commenting. Exceptionally well written!

  7. adidas yeezy boost 350 v2

    Useful and timely hub for me – considering new trainers and desirous about what
    I want to assist my dodgy Achilles tendon (I am already doing loads of strengthening workouts).

  8. Genf20 Side Effects

    This design is amazing! You certainly know how to keep a
    reader amused. Between your humor and your videos, I was almost moved to start my own blog.
    Fantastic job. I truly enjoyed what you had to say, and more than that, how you presented it.
    Too great!

  9. best weedinmypocket

    Excellent post. I was checking continuously this weblog and I’m impressed!
    Extremely useful info specially the closing part 🙂 I maintain such info much.

    I used to be seeking this certain info for a
    long time. Thanks and best of luck.

  10. medication

    Hi, I do believe this is an excellent blog.
    I stumbledupon it 😉 I am going to revisit
    yet again since I bookmarked it. Money and
    freedom is the greatest way to change, may you be rich and
    continue to help others.

  11. Kenneth

    I’m really enjoying the theme/design of your blog. Do you
    ever run into any web browser compatibility problems? A few of my blog readers have complained about my site not operating correctly in Explorer but looks great in Firefox.
    Do you have any suggestions to help fix
    this problem?

  12. Mike Bergum

    This post is truly a fastidious one it assists new internet users,
    who are wishing for blogging.

  13. http://puresci.uodiyala.edu.iq

    Hey there! Would you mind if I share your blog with my zynga group?

    There’s a lot of folks that I think would really appreciate your content.
    Please let me know. Cheers

  14. MTS-5200e 5026DR

    Wow that was strange. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Anyways, just wanted to say superb blog!

  15. ???? ????? ????????

    Checklist of 322 accessible inns in Maldives.

  16. drainage inlet grates

    V??y instructive and fantastic body structure of articles, now that’s
    user p?easant (:.

  17. ac repair spring texas

    I don’t know if it’s just me or if perhaps everybody else encountering issues with your site.
    It looks like some of the written text within your posts are running
    off the screen. Can someone else please comment and let me know
    if this is happening to them as well? This may be a problem
    with my web browser because I’ve had this happen before.
    Many thanks

  18. online

    Does your blog have a contact page? I’m having trouble locating it but, I’d like to send you
    an email. I’ve got some suggestions for your blog you might be interested in hearing.
    Either way, great blog and I look forward to seeing it grow over

  19. full size bed sets

    Hello superb website! Does running a blog similar to this require
    a massive amount work? I have virtually no expertise in computer programming but I was
    hoping to start my own blog soon. Anyhow, should you have any ideas
    or tips for new blog owners please share. I know this
    is off topic however I just needed to ask. Thanks a lot!

  20. free google play code

    Hi my family member! I wish to say that this article is
    awesome, great written and come with almost all vital infos.

    I’d like to peer extra posts like this .

  21. http://juiciooral.mx

    If you are going for best contents like myself, only pay a quick
    visit this website all the time as it presents quality contents, thanks

  22. desentupimeto de esgotos

    Então, não perca melhor tempo. Agilidade?


  23. sbobet

    Your style is really unique compared to other people I’ve read stuff from.

    Thank you for posting when you have the opportunity, Guess I will just bookmark this web site.

  24. Heya excellent website! Does running a blog such as this take a large amount of work?
    I’ve virtually no knowledge of coding however I had
    been hoping to start my own blog in the near future.
    Anyways, if you have any suggestions or techniques for new blog owners please share.
    I know this is off subject nevertheless I just had to
    ask. Many thanks!

  25. Elena

    It’s an remarkable article in support of all the web users;
    they will obtain advantage from it I am sure.

  26. jual bunga

    Do you mind iff I quote ? couple of your posts as
    long as I p?ovide c?edit and sour?es back tto your website?
    My blpg is in the very same area ?f interest as
    ypurs and mmy u?ers wou?d genuine?y benefit fr?m som?
    of the info?mation yo? provi?e here. P?ease lett me ?now if this okay with you.
    ?heers! http://advanced-Media.co.uk/index.php/component/k2/itemlist/user/2525251

  27. Sarah

    Este é um transtorno especialmente enérgico.

  28. suntik putih glow

    It’s genuinely very difficult in this full of activity life
    to listen news on TV, thus I simply use internet for that reason, and take
    the hottest news.

  29. Mireya

    Hello, I read your blog like every week. Your story-telling style is
    witty, keep it up!

  30. Maria Heloísa

    Compartilhe com seus colegas cada batalha derrota!

  31. ?Table Plans

    I liked you on Facebook.

  32. Pingback: The End of the Social News Era?

  33. Anritsu MW9070A MW0973J OTDR

    Hi there Dear, are you truly visiting this website on a regular basis, if so
    after that you will definitely obtain pleasant know-how.

  34. Cryptocurrency Exchange

    Today, I went to the beach with my kids. I found a sea
    shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.”
    She put the shell to her ear and screamed. There was a hermit
    crab inside and it pinched her ear. She never wants to go back!
    LoL I know this is totally off topic but I had to
    tell someone!

  35. M90 4000

    You are so awesome! I do not think I’ve truly read anything like that before.
    So wonderful to find somebody with original thoughts on this
    subject matter. Seriously.. thank you for starting this up.
    This site is one thing that is needed on the web, someone with a little

  36. Acterna T-BERD MTS 8000 Transport

    I used to be suggested this blog by my cousin. I am not certain whether this submit is written by him as nobody else understand such distinctive
    about my difficulty. You’re wonderful! Thank you!

  37. lop hoc tieng duc tphcm

    magnificent issues altogether, you simply won a new reader.
    What may you recommend in regards to your put up that you made
    a few days in the past? Any sure?

  38. chevrolet trailblazer

    Hello, I log on to your blog daily. Your writing style is awesome, keep up the good work!

  39. MS-1400

    Hey very nice website!! Man .. Beautiful ..
    Superb .. I will bookmark your site and take the feeds additionally?
    I’m glad to find a lot of useful info right here in the put up, we want work out more strategies in this regard, thanks for sharing.
    . . . . .

  40. en iyi forex ?irketleri

    Hello! Do you use Twitter? I’d like to follow you if that would be
    ok. I’m absolutely enjoying your blog and look forward to new posts.

  41. Acterna JDSU MTS-5100eo

    Pretty nice post. I just stumbled upon your weblog and wanted to say that I’ve truly enjoyed browsing your blog posts.

    After all I will be subscribing to your feed and I hope
    you write again soon!

  42. mobile legends hack download

    Ver? energetic a?ticle, I enjoyed that a lot. Will there bbe a part

  43. MTS 51005026VSR

    Hello! I’m at work browsing your blog from my new iphone 4!

    Just wanted to say I love reading your blog and look forward to all your posts!

    Keep up the outstanding work!

  44. Anritsu MW9070B MW0972A

    Whats up this is somewhat of off topic but I was
    wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding skills so I wanted to get advice from someone
    with experience. Any help would be enormously appreciated!

  45. N1677A STM-4/OC-12 SONET/SDH

    Hi there i am kavin, its my first occasion to commenting
    anyplace, when i read this piece of writing i thought
    i could also create comment due to this brilliant piece of writing.

  46. internet marketing strategies articles

    Wasn’t internet advertising purported to be straightforward? http://www.pawnshop.com.sg/index.php/component/k2/itemlist/user/492450

  47. MTS 8000 10G Transport

    If some one needs to be updated with most recent technologies afterward he must be pay a quick visit this website and be up
    to date everyday.

  48. Anritsu MW9076B1 MU250000A

    I every time spent my half an hour to read this webpage’s
    articles everyday along with a cup of coffee.

  49. Anritsu MT9081D

    If you want to take much from this post then you have to apply such methods to your won web site.

  50. MTS 8000

    I used to be able to find good info from your


Leave a Comment

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