Wordpress Security
PreviousHow To Use Cron to Automate Tasks on CentOS 8NextOpen database Error!: could not find driver linux Fix
Last updated
Was this helpful?
Last updated
Was this helpful?
Most web servers allow any user to browse the directories (folders) when no index file is available. This can lead to information leakage and help an attacker when trying to compromise your site.
In order to improve your security, you should disable this option. The also recommends it.
To disable directory listing on Apache, add the following line to your .htaccess
file: