All the files that are loaded with page=$ and sub=$ are located in /year12/ directory.
Code: Select all
RewriteRule ^year12/(.*)/(.*) year12.php?page=$1&sub=$2year12/sample_page/
this also works
year12/sample_page/sub_page
HOWEVER.
i want users to be able to just go to
year12/
and land on year12.php
Right now all i get is a directory listing of the contents in year12 directory.
Could anyone point me in the right (re)direction?
thanks in advance.