Permission for files on WordPress
July 24, 2017
What should be the permission of files on WordPress in different parent folders like wp-admin, wp-includes, root etc? I need file permissions for files in each folder. Can anyone help me?
Permissions for folders and files on WordPress
July 26, 2017
Permissions for the folder should be 755
find foldername -type d -exec chmod 755 {} \;
Permissions for files beneath wp-content should be set to 0755. The codes should look like-
chmod -R 0755 plugins
Change plugins to uploads, upgrade to change permissions of those.
Permissions for the file should be 644
find foldername -type f -exec chmod 644 {} \;
- 30 reads
- 683 reads