We are getting below errors from Wordpress Web toolkit
1.Restrict access to files and directories.
2.Block directory browsing.
3.Block unauthorized access to wp-config.php.
4.Disable PHP execution in cache directories.
5.Block access to sensitive files.
We did the below fix in htaccess.
<files wp-config.php>
order allow,deny
deny from all
</files>
Options -Indexes
Also we updated file permission as wp-config file to 600, for other files to 644, and for directories to 755.
But in cPanel still showing the same error as not resolved.
1.Restrict access to files and directories.
2.Block directory browsing.
3.Block unauthorized access to wp-config.php.
4.Disable PHP execution in cache directories.
5.Block access to sensitive files.
We did the below fix in htaccess.
<files wp-config.php>
order allow,deny
deny from all
</files>
Options -Indexes
Also we updated file permission as wp-config file to 600, for other files to 644, and for directories to 755.
But in cPanel still showing the same error as not resolved.
Attachments
Last edited: