I am a newbie to mod_rewrite and I was wondering if there is any way you could make on rewrite script that handles and number of variables you throw at it.
Example:
www.krisnicolaou.com/index.php?id=5&sort=asc&limit=25¶m=first_name
to
www.krisnicolaou.com/5/asc/25/first_name
...but, you can also pass these variables in on another page and it would work with that one script:
www.krisnicolaou.com/index.php?page=view&action=add
to
www.krisnicolaou.com/view/add/
I essentially don't want to be limited as to how many parameters I can add on to the end and not have to constantly modify the .htaccess file.
Thanks in advance.