The uploaded file could not be moved to wp-content/uploads/2017/04.

April 21, 2017 3.4k views
WordPress DigitalOcean

Hi,
My problem is I can't upload any files after host my website, I got an error like The uploaded file could not be moved to wp-content/uploads/2017/04.
I set Permission to all folders and error still existing.
My site is Hosted on Digital Ocean and I get a suggestion that I need to consult Digital ocean and tell them to set the permission on my site.
Any suggestions????

1 Answer

Hi @sherine12345
Have you set ownership to the correct user and group for all files+folders in the uploads folder.
It's usually www-data for both user and group.

Have another answer? Share your knowledge.