WordPress: “Error saving media attachment”

WordPress however it gave me an error message:

Unable to create directory …… Is its parent directory writable by the server?

To get over this uploading an image error, you must make sure the permissions to this folder wp-content are set correctly.

If you have seen this error and need to get rid of it, visit our WordPress blog to get your site fixed.

Try adding this line to your wp-config.php file:
define(‘UPLOADS’, ‘wp-content/uploads’);



  1. Click Settings
  2. Under Settings click “Media”
  3. Now add “/wp-content/uploads” In the “Store Uploads option (Look at the image)

Leave a Reply

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