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

html or htm parsed as shtml not working

To parse .html or .htm files as .shtml add the following to your .htaccess file in the...

How do I hide my domain WHOIS information?

If you do not wish to have your contact information shown when someone does a WHOIS report on...

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

How do I create a helpdesk ticket?

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

How can I redirect http to https?

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