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

I have a reseller account. What can I use for billing software and automation?

There are many great programs that work for both billing, domain and cpanel integration. Check...

How can I redirect http to https?

Create an .htaccess file with the following contents and upload it to your public_html directory....

Enable AllowOverride

If you have an application that requires allowoverride enabled, create an .htaccess file and...

View your website in older browser versions

As developers and webmasters it is always important to make sure your website works in several...