How do I hide files in the web address?

Hello. I was wondering if anyone knows how to hide the directory of files on my site. What I’m referring to is when you type in, it displays the directory with everything on your FTP. Is there a way disable this so no one can see? Thank you.

Put a blank index.html in there. Blank as in 0 bytes. Transmit for the Mac can Create a New File, maybe other FTP programs can. Or via command line: ‘touch index.html’

Or you can go with a site-wide No Index directive:



Putting a blank index.html in the directory worked. Thank you very much for your help.