How To Enable Directory Listing Indexes In htaccess
Step 1 - Access your .htaccess file.
Step 2 - Add the below code to the top of the file, then click
Save:
Options +Indexes
When you visit your website, or a specific directory (e.g.: yourdomain.net.au/files) that doesn't have a index.php or index.html file, you will see a directory listing like this:
You can enable Directory Listing for specific directories by creating a file called
.htaccess in them and adding the same code.