Support » Fixing WordPress » Media Upload 'http error'

  • Resolved mjoanisse


    i’ve recently uploaded my ‘beta’ website from my local copy to a server sub-domain.

    This area is also password protected using .htaccess + .htpasswd (if worth mentioning)

    From my local copy, I’ve had no issues with uploading media – now on server, I cannot upload from either flash or browser uploader.

    The error i get – HTTP error.

    Any solutions / suggestions as to what i can do to help resolve issue?

    I’ve already tried the following ..
    removed ‘uploads’ directory, and re-created new one.
    set permissions of ‘uploads’ directory and all sub-recursive to 777.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mjoanisse


    Thank you esmi, I appreciate your help.

    I’ve concluced the following..
    The issue(s) around the media uploader we’re in fact, caused by the password protected area (I disabled the following in .htaccess, and it’s now working again)

    AuthName "Restricted Area"
    AuthType Basic
    AuthUserFile /root/path/to/my/website/.htpasswd
    AuthGroupFile /dev/null
    require valid-user

    Now, that being said.. It’s nice to know that problem has been pin-pointed; however, it does leave my ‘beta’ area unprotected.. which is not ideal.

    Any solutions as to how i can get around this?

    Thread Starter mjoanisse


    Hi all, here is a logical solution to my problem(s) described above.

    To summarize when / if this relates to your issue(s), here are is a brief summary –

    • wordpress ver. 3.0
    • installed on subdomain
    • authentication / user + pswrd prompt (.htaccess, .htpasswd) required


    when trying to upload, the error – HTTP error. is returned, with unsuccessful file upload.


    add the following to the very top of your .htaccess file, (should resolve issues around uploading media)

    # Exclude the file upload and WP CRON scripts from authentication
    <FilesMatch "(async-upload\.php|wp-cron\.php|xmlrpc\.php)$">
        Satisfy Any
        Order allow,deny
        Allow from all
        Deny from none

    For more information:

    By the way I tried the above mentioned technique, adding the code to my .htaccess but didn’t work. Than I tried the plugin ‘Image Upload HTTP Error Fix’ …not successful.

    Finally i tried the plug-in ‘flexupload’… Bang it fixed the problem right away and still working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Media Upload 'http error'’ is closed to new replies.