After migrating WordPress Made Easy from GoDaddy to SiteGround WordPress Hosting, I started to write a new post as usual. While trying to add an image to the new post, the upload process failed and this error message appeared:
Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server.
In the beginning, I thought that the cause of the problem might be the lack of permissions on the new server.
I connected to my FTP server using FileZilla and started to check the wp-content/uploads via FTP and I found that the folder of the current month is present.
After that, I thought the cause of the problem may be file permissions as WordPress was unable to write/edit the parent folder, so I changed the permissions via FTP.
However, I still couldn’t upload files to WordPress media library and still getting “Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server” error when I try to upload the files even after using another browser to write the new post.
How to solve “Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server” error
The cause of this error is that the wp-content/uploads folder does not exist because when I installed WordPress on the old server it automatically extracted the old path for uploads folder.
The old path includes the user account on the server and when I migrated to the new server the username changed so for WordPress the file does not exist.
To solve this annoying error, you need to change the path of the old uploads folder to the new one. Follow these steps to solve the problem:
- Log in to your WordPress admin panel (wp-admin).
- In the left menu go to
Settings
»Media
.
- In the Store uploads in this folder field, enter wp-content/uploads and click Save changes.
4. Now you are done, go and try to upload files to the media library again.
NOTE: make sure that the Store uploads in this folder field contains wp-content/uploads
only.