👩💻 Join our community of thousands of amazing developers!
If you don’t want your site users to see your directory listing, you can do a simple trick in .htaccess file. Here is a screenshot of a directory listing on Apache Server : Now, to disable directory listing of all types of files, type in the following code in .htaccess : IndexIgnore * This will change the directory listing to this : The empty directory listing looks ugly....