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

Password Protect Directories

Within control panel select Password Protection. Select the directory you would like to protect....

How can I change the default page / document?

Create a .htaccess file, include the below information into it and upload it to the public_html...

How do I remove a web disk?

In Windows, go to My Network Places on your PC, find the connection, right click and delete....

Adding HTML to Site Builder

When adding HTML code/source in site builders be sure you are in HTML mode. There is often a...

Mounting Samba Share in Linux for Startup

The following may be used to mount a samba share via your /etc/fstab file for bootup on...