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

Inode issues

There are many issues that can arise from reaching your inode limit. The inode limit is the total...

Common Search Engine Optimization Tips

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

Change your Websites Favorite Icon

How to change your website's icon for your internet browser. Create a 16x16 pixel icon image...

Some visitors in China and Russia cannot reach my website

Some networks known for abusive activity such as hacking in countries such as China, North Korea...