Khandaker Toihidul Islam
Software Engineer
Backend : PHP | Mysql | Symfony | CakePhp | Wordpress | Drupal
Frontend : Node js | Vue js | React Js | Javascript | HTML | CSS | Bootstrap
Tools , Server : Nginx | Apache | Git | Jenkins | Jira | Asana | Silenium | Spira

WordPress – directory permission

  1. Connect to server by ssh
sss root@<your servier ip>

Navigate to cd public_html/wp-content

sudo mkdir uploads

Change the owner and group of the uploads folder to www-data by executing this command:

chmod 755 -R uploads 
chown -R www-data:www-data uploads

Done, now try to upload file again.

For plugin and theme install or updates

sudo chown -R www-data:www-data /var/www/html/example.com

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *