Question
WordPress Multisite is unable to upload media files because it does not have the necessary permissions.
WordPress 3.5 changes where media files are uploaded from blogs.dir to wp-content/uploads/sites/{site_id}. I have configured Multisite to use subdomains and the only way I have been able to allow WordPress to upload files (images) is to manually create the necessary folder structure and then to give 777 permissions.
$ chmod 777 /var/www/wp-content/uploads/sites/2
$ chmod 777 /var/www/wp-content/uploads/sites/3
etc.
This seems as though PHP does not have permissions to create/write files on my droplet. I'd obviously prefer my permissions to be 755. Any thoughts?
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×