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

Error 406 unacceptable

This error can be caused by several factors. One cause can be the incorrect permissions are set...

Creating a Form Button

Sometimes all you need is a simple button. The following pages are pretty useful tools for...

Adding HTML to Site Builder

When adding HTML code/source in site builders be sure you are in HTML mode. There is often a...

What is the location of curl?

Curl is located @ /usr/bin/curl

I updated my site but I still see old pages

Make sure your files are indeed updated by checking the file time stamps. Also, you may want to...