Show longer file names in directory/folder index

If you've ever wanted to show longer file names in your directory listing just create or edit an .htaccess in that folder.

In the file named .htaccess add the following code.

This will show longer file names without being cut off.

Options +Indexes
<IfModule mod_autoindex.c>
  IndexOptions NameWidth=*
</ifModule>




  • 4 Users Found This Useful

Was this answer helpful?

Related Articles

How do I parse html files as shtml?

Create an .htaccess file in the directory needed and add the following: AddHandler...

How do I hide my domain WHOIS information?

If you do not wish to have your contact information shown when someone does a WHOIS report on...

How can I change the index listing in a directory?

You can change the initial page that is sent to client requests when a directory is accessed by...

What are these vt directories?

Those are FrontPage extension directories. If you have and no longer need them you can uninstall...

How can I redirect http to https?

Create an .htaccess file with the following contents and upload it to your public_html directory....