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

Disable error_log via htaccess

Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...

Cross Origin Request Error

When receiving a cross-origin / cross original request, CORS header 'Access-Control-Allow-Origin'...

Convert PDF to HTML Service

To convert your PDF files to html try using the following converter tool from Adobe:...

How can I tell how much disk space I have available?

To see how much disk space you have available, go to your control panel and on the left side of...

Why do I get emails for cron jobs?

This is the default. If you would like to disable receiving emails when a cron job runs append...