htaccess to not show index.php in sub directory
Posted
by Jamesaa
on Stack Overflow
See other posts from Stack Overflow
or by Jamesaa
Published on 2010-05-19T12:25:13Z
Indexed on
2010/05/19
12:40 UTC
Read the original article
Hit count: 199
I have a simple page structure like below
/directory/subdir_1/index.php
/directory/subdir_2/index.php
....
(there are no other files in these directories)
is it possible to have 'fake/pretty' urls for the above files as below?
/directory/subdir_1
/directory/subdir_2
...
so this path would show whether the visitor typed that,/directory/subdir_2/ or /directory/subdir_2/index.php.
Many thanks
© Stack Overflow or respective owner