Disable Directory Browsing

Disable WordPress Directory Listing | Prevent Direct File Access

On the recommendations of knowledgeable people for security, you should disable directory browsing. Because attackers, hackers can see file structure and little did find some vulnerability. You can disable .htaccess by adding a single line: need to add the following line to the .htaccess file. Options -Indexes