In your WordPress directory, run the following:

sudo chown -R www-data . sudo find . -type f -exec chmod 664 {} + sudo find . -type d -exec chmod 775 {} + sudo chmod 660 wp-config.php

This should fix all your WordPress woes relating to permissions

comments powered by Disqus