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 is a Top-Level-Domain (TLD)?

TLD stands for Top Level Domain. This includes any domain names which suffix is .com, .net, .org,...

Howto: Add another website to your account

You can add another website to your hosting account if your hosting plan allows for more than one...

Is it possible to make a cron to backup my database at specific times?

Yes, this can be very useful for forum/message board sites with large databases. In your control...

Error 401 Unauthorized

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

What is the location of curl?

Curl is located @ /usr/bin/curl