Hi,
I have url's like the following
Ex: http://www.test.com/dir1/index.php Ex: http://www.test.com/dir2/index.php Ex: http://www.test.com/dir3/index.php Ex: http://www.test.com/dir4/index.php
I would like to hide index.php. As soon as I type the directory name I would like to bring up the corresponding index.php.
Is this possible to do?
Thanks.
Yes simply set your webserver to use index.php as an index just like it does index.html .htm, etc
Specifically, the DirectoryIndex directive. Edit this in httpd.conf or .htaccess