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 these htaccess files that keep popping up?

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

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.

Meta Redirect

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

How do I parse html files as shtml?

Create an .htaccess file in the directory needed and add the following: AddHandler...

Adding a Facebook Button

Facebook has a wonderful page on adding a Facebook image to your website complete with...