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

html or htm parsed as shtml not working

To parse .html or .htm files as .shtml add the following to your .htaccess file in the...

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...

How can I turn off directory indexing?

In the directory that you wish you turn off directory indexing, you can do it under Index Manager...

301 Redirect

This code will redirect all visitors who attempt to access the old-url.html page to the...

Disable error_log via htaccess

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