After moving from GoDaddy to SiteGround WordPress Hosting and I started to write a new post, I couldn’t upload an image to the new post and this message appeared:
Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server.
First of all I thought that the problem may be from the 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 that the cause of the problem may be file permissions as WordPress is unable to write/edit the parent folder, so I changed the permissions through FTP but I still can’t upload files to 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 changing the browser.
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 all what you need to do is changing 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. - Now you are done, go and try to upload files to the media library again.
退出登录?