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

How do I cancel my account?

We are sorry to hear you would like to cancel your account! If there is anything we can do,...

My site was hacked

This typically occurs when you are running a script/app on your website which is out-dated and...

How do I create a helpdesk ticket?

You may create a helpdesk ticket at any time by visiting https://my.ultrawebhosting.com and...

How do I customize error messages for my site?

Within control panel select Custom Error Pages. Select the error code link and place whatever...

How can I change the index listing in a directory?

You can change the initial page that is sent to client requests when a directory is accessed by...