Well, do there really have to show that index?
ie.
Code:
http://domain.com/member/foo/this
and we call it like this
Code:
http://domain.com/index.php?mode=member&cat=foo&do=this
We put htaccess like this
Code:
RewriteEngine On
RewriteRule ^/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?mode=$1&cat=$2&do=$3 [QSA,L]
I don't know how familiar you are whit mod_rewrite so I try explain something about that.
In the end you find those tags, if I recall correct QSA allows more definitions in url end (domain.com/member/foo/this/?newdef=likethis)
and L says that rule ends there.
If you like, you can do all your files look like "folders".. Well I put some examples bellow:
Code:
http://domain.com/customers.php => http://domain.com/customers/
or
Code:
http://domain.com/folder/mypanel.php => http://domain.com/folder/mypanel/
do
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*[^/])/?$ $1.php [L,QSA]
As you can see, the are those tags again so you can add more definitions in urls end if you like or add new rules in htaccess.
Hope these help you and please don't kill me if won't work as it is presented in your system. Those should because I use them ATM! ;)