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

What are all these htaccess files?

.htaccess files are used to perform certain rules such as displaying a 404.shtml file in replace...

What is this Code 304 appearing in my stats?

304 is typically sent as a header if a visitor re-requests a document and the document has not...

Why is the server load status red?

The server load status will be red if the server is under a little more stress than usual. This...

Error 401 Unauthorized

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

How can I change the default page / document?

Create a .htaccess file, include the below information into it and upload it to the public_html...