- All folders and directories should be 775, 755 or 750.
- wp-config.php should be 644. Set 440 or 400 to prevent other users on the server from reading it.
- .htaccess – 644 is the recommended permission.
- php.ini – 644 is the recommended permission.
- All other files should be 664.
Note: No directories should ever have 777, even upload directories. These recommended permissions may vary based on hosting users and security. You can read more in WordPress.org & Smashing magazine
Learn more about the similar topics:
Tutorials |
No Content Found. |
Exercises & Assignments |
No Content Found. |
Interview Questions & Answers |
No Content Found. |