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

Redirect http to https and www

To forward a website to use both www. and https:// use the following in an .htaccess file:...

I can not move out of the / directory, why not?

For security reasons, you cannot move out of the root folder of your own domain.

Common Search Engine Optimization Tips

Get other websites to link to you. Have your website linked and posted in socal media...

Create a 410 Redirect for Missing Files

A redirect which is often forgot about is the 410 redirect. This is search engine friendly in the...

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