Fix WordPress file permissions with the following commands: 1. Change ownership of all files and folders to your user account and user group: sudo chown -R : * 2. Change ownership of all files and folders in a wp-content folder to www-data user and group. www-data is the default Apache user and group: sudo chown www-data:www-data -R wp-content/ 3. Set all directories permissions to 755: find . -type d -exec chmod 755 {} \\; 4. Set all file permissions to 644: find . -type f -exec chmod 644 {} \\; For a more detailed explanation, check Fix WordPress File Permissions On Ubuntu blog post.