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 can I redirect http to https?

Create an .htaccess file with the following contents and upload it to your public_html directory....

Why do I get emails for cron jobs?

This is the default. If you would like to disable receiving emails when a cron job runs append...

My site was hacked

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

Why does it show the Ultra Web Hosting home page when I go to my site?

There are several reasons for this. Ensure you do not have https at the beginning of your...

Enable AllowOverride

If you have an application that requires allowoverride enabled, create an .htaccess file and...