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

I updated my site but I still see old pages

Make sure your files are indeed updated by checking the file time stamps. Also, you may want to...

Unable to view Ultrawebhosting.com from my foreign browser

We are an American company based out of Seattle, WA. Our website is written in English as a...

301 Redirect

This code will redirect all visitors who attempt to access the old-url.html page to the...

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