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

Troubleshooting Cloudflare errors

You may encounter errors using CloudFlare from time to time. This article may help to resolve...

Some visitors in China and Russia cannot reach my website

Some networks known for abusive activity such as hacking in countries such as China, North Korea...

403 Error on POST

This can occur for several reasons: Be sure your file permissions are correct. If the file needs...

Creating a Form Button

Sometimes all you need is a simple button. The following pages are pretty useful tools for...

“Not Secure” Web Error

In this day and age browsers now default to using https:// instead of http://. We make SSL...