Forum Moderators: phranque
Basicly I have a site www.mydomain.com and I need www.mydomain.com/subdir/ to point to www.mydomain.com and pass "subdir" as a parameter to the page. So www.mydomain.com/subdir/page.php would end up as www.mydomain.com/page.php?memeber=subdir or something.
To be honest how the param ends up in php dosn't matter, but I need to be able to go to any sub direcotry and for it to be passed through.
any body have any idea's?
Haydies.
It sounds like what you are looking for is mod_rewrite. Take a look at this thread
An Introduction to Redirecting URLs on an Apache Server [webmasterworld.com]