Hide folders with .htaccess
.htaccess, directory
Solution
IndexIgnore *
The above would prevent all files from being listed. Here `*` acts as a wildcard. You could replace it with something more specific, if needed.
Problem
Is it possible to hide the folders in my root folder? Just in case my index.php would disappear you know? Could I also show 404 error not found if someone requests them?