Skip to main content

Fix HTTP Error Media Upload WordPress

Hi Developers, today I’m here with another new posts for my developer friends Who ever faced an HTTP Error while uploading media in WordPress. If you guys are facing following errors while you’re trying to upload media in your WordPress media library then this post is especially for you –

 – HTTP Error 500

HTTP Error Media Upload

–  unable to create directory wp-content/uploads


Before moving further let me explain you how media’s are uploaded in WordPress and how you can change the path to your uploaded media. In general, WordPress used wp-content/uploads directory to store uploaded media files. These media files are arranged in years and months. You can control this settings in WordPress admin panel. To change settings follow these steps-

  1. Login to your WordPress admin panel using
  2. Make sure you’ve admin rights to control these settings
  3. Navigate to Settings->Media
  4. In the Media Settings page opened, search for “Store Uploads in this Folder”. Default is “wp-content/uploads”. media-store-path-wordpress
  5. You can set the path here for the folder you want you media to be stored.

Resolving Media Upload Error in WordPress

The media upload error usually occurred when you’ve some error in the path you’re uploading media to. Lets discuss the first error –

-HTTP Error 500

This error usually occurs when the path you’re adding media to is not set properly or it is wrong. Make sure you’ve type the path correctly if you’re trying to save it to default path then make sure it is “wp-content/uploads”.

RELATED : Fix “Cookies are blocked due to unexpected output” WordPress

In case you’re facing another error i.e.

“unable to create directory wp-contents/uploads……”

then the error is with the permissions associated with the directory.

If the path is correct i.e “wp-content/uploads” then login to your server cpanel and open “File Manager”. In the “File Manager” navigate to the root of your WordPress directory and make sure the permissions are 0755 for its sub directories as well.

%d bloggers like this: