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

htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

To solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable” follow...

Adding a Facebook Button

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

Can I change my username?

Usernames are setup in the manner for security. Most programs will allow you to save the...

Creating and Submitting a Google Sitemap

Creating a Google sitemap can be easy and beneficial. By using one, you are pushing a full list...