chmod -R 644 project/
chmod 755 project/wp-includes/ project/wp-admin/ project/wp-admin/js/ project/wp-content/ project/wp-content/themes project/wp-content/plugins
project | : 0755 |
wp-includes/ | : 0755 |
wp-admin/ | : 0755 |
wp-admin/js/ | : 0755 |
wp-content/ | : 0755 |
wp-content/themes/ | : 0755 |
wp-content/plugins/ | : 0755 |
wp-admin/index.php | : 0644 |
.htaccess | : 0644 |
wp-config.php | : 0644 |
find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x
find . -type f -exec chmod 644 {} \; # Change file permissions rw-r--r--