Hello
I'm new to mod rewrite and I'm trying to achieve the following:
www.domain.com/index.php?page=home&&sta ... &type=user
to
www.domain.com/home/test/user
At present the "page" variable calls a file which could be located in any subfolder within domain.com and other variables after this determine actions within the files called in. Can anyone suggest a method to make the URL display correctly whilst still calling in the correct files? There could possibly be other variables after the "page" variable and therefore if the rule was a wildchild so could possibly achieve: /home/test/user/var1/var2/var3/etc.
Ideally I'd like to apply one rewrite rule to the .htaccess file in the httpdocs directory so that all files within here are affected.
Am I trying to achieve something that is impossible? Any help would be much appreciated.
Many Thanks