“Silence is golden” – normal or security problem?
When you use a file manager to explore your WordPress site, you may find some index.php files that surprised you in a directory like /wp-content.
Let’s take a look at that index.php file.
<?php
//Silence is golden.
Developers place an empty index.php in directories like /wp-content to restrict access to your site’s directories and files. Without index.php, anyone could just visit your site’s /wp-content and see all of the media, files, and directories it contains.