Categories: Web Development
This article is a little outdated. Please check the updated version of the tutorial on how to fix the unable to create directory error.
This post has a textual and video instructions showing how to fix the WordPress “Unable to create directory” error when uploading/inserting image into WordPress.
I started getting the “Unable to create directory /wp-content/uploads/2008/12. Is its parent directory writable by the server?” error when uploading or inserting image into a WordPress post just after upgrading to WordPress 2.7. First I thought it is a directory permission related error so I tried changing the permission of my ‘upload’ directory to 777 (which you shouldn’t have to do) but I was still having the same problem. After trying many things I was able to fix it using the following method.
- Log into your WordPress Admin account.
- Go to ‘Miscellaneous’ Settings options from the ‘Settings’ menu.
- In the Miscellaneous Settings put wp-content/uploads in the “Store uploads in this folder” text box.
- Save the Changes by hitting the “Save Changes” button and you are done.
Fix WordPress Image Upload Error: Video Instructions
Checkout the comments below for more tips.
If you have done everything explained here and it doesn’t help then it is most likely a server configuration issue. Contact your hosting provider and see if you can get help from them or look for a better hosting solution.