How To Override File Permissions In WordPress ?

If your host has restrictive permissions for all files, don’t worry you can very easily override file permissions in WordPress.

Open your wp-config.php file (present in your WordPress site’s root directory) and define the permissions as shown below:

define(‘FS_CHMOD_FILE’, 0755);
define(‘FS_CHMOD_DIR’, 0644);

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.