When setting up a new wordpress site there might be some things that you can forget, so let’s write them down as a problem-solution. WordPress requests FTP credentials to install any new theme, plugin. You might have forgotten to set permissions on your site folder, so you need this command:
1 | sudo chown -R www-data:www-data /var/www/wordpress-site |
This will set up the ownership properties, recursively, to…