Title: http upload  error
Last modified: August 20, 2016

---

# http upload error

 *  [Dazzler73](https://wordpress.org/support/users/dazzler73/)
 * (@dazzler73)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/http-upload-error/)
 * Hi guys,
 * I’m getting (as I’m sure some of you have!) the dreaded HTTP error message when
   uploading files to Media. It seems to be when users have wordpress on a server,
   as I have.
    I found an article which has solved the problem for a lot of users
   and involves copying/pasting some code, but I’m sure where I paste the code to.
   If you can help, I’d be grateful.
 * **Server Access Control based on Authentication**
 * _If you’re using Access Control based on Authentication on your Webserver (often
   known as htpasswd, Basic Authentiaction, password protected directory or similar),
   WordPress is not able to handle it for Flash Uploader, Cron and XMLRPC. Related
   files need to be excluded to work. Keep in mind that this might break your security
   considerations._
 * **.htaccess snippet**
 * # 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>
 * Cheers!

The topic ‘http upload error’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [media](https://wordpress.org/support/topic-tag/media/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 0 replies
 * 1 participant
 * Last reply from: [Dazzler73](https://wordpress.org/support/users/dazzler73/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/http-upload-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
