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

Meta Redirect

Adding this code to your web page will redirect your visitors to any address that you have...

Error 401 Unauthorized

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

When I upload an htaccess file it disappears

On unix/linux systems, files that start with a . are considered hidden so many ftp programs do...

I can not move out of the / directory, why not?

For security reasons, you cannot move out of the root folder of your own domain.

What are these htaccess files that keep popping up?

.htaccess files are default files the server uses to perform certain tasks. Features such as...