Secret ingredients to quality software


Do you always have a default/index page?

Last updated by Tiago Araujo on 05 Aug 2016 07:27 pm (almost 5 years ago) See History

Many times a website contains directories that don't have an index page, and this means a user navigating via the URL, see a 404 error. You don't want this to happen, so make sure you always have an index page in every directory, even if it's just to show the files inside it.

It is usually a default.aspx file, however depending on the webserver configuration; it might be index.html or index.php etc.

Adam CoganAdam Cogan

We open source. This page is on GitHub