WordPress media upload error
A quick fix, but very helpful to know. If you have a WordPress website which is password protected this can result in media file uploads failing with a message saying “http error”. This is caused by the .htaccess file in the root of the site which provides password protection.
This post: http://wordpress.org/support/topic/media-upload-http-error provides a solution, adding some lines to avoid the upload script being blocked.
# 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
</FilesMatch>
Which came from the WordPress Codex User:Hakre/Htaccess