choose your own index page

| June 4th, 2008

Really basic changes to .htaccess can be just what you need.

I added this line at the end of .htaccess

DirectoryIndex mycustomIndex.html

Each directory can have it’s own .htaccessfile. That means each directory could have it’s own custom index. I use custom indexes so that I can do things like http://myprojects/project1/project1.html, and use project1.html as the index.

This page has an example:
http://www.invision-graphics.com/HTML_Guide-16.html

Comments are closed.