How to provide writing rights to your apache server in your /var/www directory?
I installed WordPress in my droplet and I could not update themes or install plugins. The error was “unable to create directory”. If you also came across this issue make sure you provide righting to your www directory with the following command: sudo chown -R www-data:www-data /var/www
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed