Skip to main content

How do I remove the directory listing?

Updated over 3 weeks ago

By default, all directories will show a 'directory listing' of all of your files if you don't have a index? file. You can disable this behavior by creating an .htaccess in your public_html folder and having the line:

Options -Indexes

Did this answer your question?