WP File Permissions Setup
Jun-2021
| Files/Folders | Permissions |
| wp-content | 755 |
| wp-includes | 755 |
| All .php files | 644 |
| All folders | 755 |
| wp-config.php (public_html folder) | 400/440 |
| index.php (public_html folder) | 444/644 |
$ sudo find . -type f -exec chmod 664 {} +
$ sudo find . -type d -exec chmod 755 {} +
$ sudo chmod 660 wp-config.php