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 customize error messages for my site?

Within control panel select Custom Error Pages. Select the error code link and place whatever...

Can you write a script for me?

We do not write scripts but will be more than happy to guide you in the right direction. Most the...

Error 401 Unauthorized

This can occur when a web page requires authorization or a login to view the contents. If none...

What are these htaccess files that keep popping up?

.htaccess files are default files the server uses to perform certain tasks. Features such as...

How do I remove a web disk?

In Windows, go to My Network Places on your PC, find the connection, right click and delete....