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

Cross Origin Request Error

When receiving a cross-origin / cross original request, CORS header 'Access-Control-Allow-Origin'...

Why can I not ping my domain?

For security purposes we have closed off the ICMP port which is used for ping.

Why can users behind proxies not see my site?

If you have enabled hot link protection users behind proxies may not be able to see your site...

Add Flash Chat to your Website

We ran into this website recently which allows you to easily insert a flash chat room into your...

Adding a Facebook Button

Facebook has a wonderful page on adding a Facebook image to your website complete with...