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. my blog

    Good web site you have here.. It’s hard to find good quality writing like yours nowadays. I seriously appreciate people like you! Take care!!

  2. hair bundles

    I love hair bundles https://www.youtube.com/watch?v=koiFnDsfNPU the are the ideal shoe at any time i would Like to obtain Just about every PAIR made the prices are major but its truly worth it Invest in Purchase Purchase THEM and they are so awesome by oneNOW and they are sooooooooooooooooooooooooooooooooooooooo quite

  3. Pingback: ingenieurs rni

  4. Pingback: ingenieurs maroc

  5. Pingback: ingenieurs maroc

  6. Pingback: ingenieur marocain

  7. Pingback: Corps des ingénieurs RNistes

  8. Pingback: traiteur rabat maroc

  9. Pingback: organisations parallèles duparti du Rassemblement national des indépendants.

  10. Pingback: Les membres du bureau national ont tenu leur première réunion a rabat le 30 juin 2017 afin de discuter du plan d’action à venir du corps

  11. Pingback: traiteur rabat maroc pas cher

  12. Lelio Vieira Carneiro Junior

    Hi, yup this paragraph is actually fastidious and I have learned lot of things from it concerning blogging.

  13. Mauro Luiz Soares Zamprogno

    What’s Going down i’m new to this, I stumbled upon this I have discovered It absolutely helpful and it has aided me out
    loads. I hope to contribute & help other customers like its aided me.
    Good job.

  14. www.youtube.com

    You actually make it appear so easy with your presentation however I find this matter
    to be actually one thing that I believe I would never understand.

    It seems too complex and very broad for me. I am having a look ahead for your subsequent put up, I will attempt to get the dangle
    of it!

  15. computer paper holder

    First of all I would like to say awesome blog!
    I had a quick question which I’d like to ask if you do not mind.
    I was curious to find out how you center yourself and clear your mind before writing.
    I have had a tough time clearing my thoughts in getting my ideas out there.
    I do enjoy writing however it just seems like the first 10 to 15 minutes are lost just trying to figure out how to begin. Any ideas or hints?
    Many thanks!

  16. Silvia

    Awesome article.

  17. exhaust systems

    Heya! I just wanted to ask if you ever have any
    problems with hackers? My last blog (wordpress) was
    hacked and I ended up losing many months of hard work due to no data
    backup. Do you have any solutions to protect against

  18. www.youtube.com

    I absolutely love your site.. Great colors & theme.

    Did you build this web site yourself? Please reply back as I’m attempting to
    create my own website and would love to learn where you got
    this from or exactly what the theme is named. Many thanks!

  19. attractive apple iphone

    Good way of describing, and good post to take facts regarding my presentation topic,
    which i am going to present in university.

  20. Bernard

    My brother suggested I might like this website.
    He was entirely right. This post truly made my day.
    You cann’t imagine simply how much time I had spent for this information! Thanks!

  21. former chief

    Awesome issues here. I’m very happy to peer your article.
    Thanks so much and I’m taking a look forward to touch you.
    Will you please drop me a e-mail?

  22. lodzboard.com

    I constantly emailed this blog post page to all my associates, for the reason that
    if like to read it then my links will too.

  23. Pingback: ingenieurs maroc RNI

  24. http://www.blushies.co.uk/

    Hi there, I discovered your blog by means of Google even as looking for a similar subject, your web site got here
    up, it appears to be like great. I’ve bookmarked it in my google bookmarks.

    Hello there, just was aware of your blog via Google, and found that it’s really informative.
    I’m gonna watch out for brussels. I’ll be grateful
    in case you continue this in future. Lots of people might be benefited out of
    your writing. Cheers!

  25. www.heelight.com

    Hello colleagues, good paragraph and nice arguments commented at this place, I am truly enjoying by these.

  26. Jack

    Daddy wins!? The twins dec?ared.

  27. Pingback: ingenieurs maroc RNI

  28. www.youtube.com

    It’s amazing for me to have a web site, which is useful in favor of my knowledge.
    thanks admin

  29. chief executive officer job description

    Wonderful goods from you, man. I’ve understand your stuff previous to and you are
    just too excellent. I actually like what you have acquired
    here, really like what you are saying and the way in which you say it.

    You make it enjoyable and you still care for to keep it smart.
    I cant wait to read far more from you. This is really a great web site.

  30. Pingback: ingenieurs maroc

  31. house Cleaning costs

    If you are going for most excellent contents like I do, just go to see this web site daily as
    it provides quality contents, thanks

  32. stop losing hair

    WOW just what I was looking for. Came here by searching for
    Hair Transplant

  33. wonderful business

    Your style is really unique compared to other folks I’ve read stuff from.
    Thank you for posting when you’ve got the opportunity, Guess I’ll just book mark this blog.

  34. homepage

    WOW just what I was looking for. Came here by searching for best
    bagless handheld vacuum for stairs

  35. Maxie

    Pretty nice post. I just stumbled upon your weblog and wanted to say that I’ve truly
    enjoyed surfing around your blog posts. In any case I’ll be subscribing
    to your rss feed and I hope you write again very soon!

  36. best handheld vac for stairs

    Excellent blog! Do you have any tips for aspiring writers?
    I’m planning to start my own blog soon but I’m a little lost on everything.
    Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally overwhelmed ..
    Any suggestions? Kudos!

  37. buy instagram followers dubai

    I read this paragraph fully on the topic of the comparison of
    hottest and previous technologies, it’s amazing article.

  38. You have made some really good points there.
    I looked on the net to learn more about the issue and found most people will go along with your views on this website.

  39. lawnmowerreviews.website

    Hmm is anyone else encountering problems with the images on this blog loading?
    I’m trying to figure out if its a problem on my end or if it’s the
    blog. Any feedback would be greatly appreciated.

  40. best lawn mower

    Oh my goodness! Amazing article dude! Thanks, However I am going through troubles with your
    RSS. I don’t understand the reason why I can’t join it.

    Is there anyone else having similar RSS issues? Anybody who knows
    the answer will you kindly respond? Thanks!!

  41. ?????? ???? ?????? ????

    Hi it’s me, I am also visiting this site on a regular basis, this website is really pleasant and the users are truly sharing fastidious thoughts.

  42. confer heart

    Good day very nice blog!! Man .. Excellent ..
    Superb .. I’ll bookmark your site and take the feeds also?
    I am happy to find so many helpful information here in the
    submit, we need develop more strategies in this regard, thank you
    for sharing. . . . . .

  43. Pingback: ingenieurs maroc

  44. custom soccer jerseys

    Wonderful post but I was wondering if you could
    write a litte more on this topic? I’d be very grateful
    if you could elaborate a little bit further. Appreciate it!

  45. Silvia Odete Morani Massad

    Nice replies in return of this question with genuine arguments and telling the whole thing about that.

  46. travel tips

    Hello to all, the contents present at this website are truly awesome for people knowledge,
    well, keep up the nice work fellows.

  47. Pingback: Nous déployons notre passion pour l’accueil, le service et la gastronomie, pour vous proposer des réceptions sur mesure, adaptées à l'événement, et à votre image de marque.

  48. Pingback: traiteur maroc

  49. outlook 365 sign in

    Formatting events with reminders can be an easy process that will maintain daily routine on track.

  50. Previously it is a difficult process to locate a right person through
    Internet. Webmasters commonly understand that probably the most important recommendations for
    success in any online business is top organic rankings within the popular search
    engines. The following article will reveal some of the
    wonderful landmarks Bookmarking Demon are capable of doing
    for you.


Leave a Comment

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