Hi,
I'm having a problem getting .htaccess to redirect like I want, and after about 6 hours of searching I'm hoping that someone from this forum may be able to help shed some light on this and let me know if it's even possible.
Basically I have a bunch of groups and i want to use sub-directories to redirect people to the same login.php and register.php page, but use that directory as a variable.
So anyone going to www.domain.com/groupname/register.php would see the file located at www.domain.com/register.php, but I want it to still show up as www.domain.com/groupname/register.php.
The second part is that i want to be able to access the "groupname" variable.
Not sure if i explained that very well, but if anyone has an idea of how to accomplish this it would be very much appreciated.
Thanks!