Thanks for your help guys, I've been experimenting for a few hours now without much luck!
The way I have structured my website, I SOMETIMES pass an extra variable through the url.
Ex:
www.site.com/city/page/ --> index.php?city=city&page=page OR
www.site.com/city/page/msg/4/ --> index.php?city=city&page=page&msg=4
The "/msg/4/" only appears when, say, a user logs in. The page will display message 4 saying "Logged In!".
Is there a way to make a rule for the "/msg/4/" part without making another rewrite rule. If I have 10 rewrite rules, I don't want to create another 10 rules to handle ALL of the messages. Preferably, 1 rule to make it 11 total!
------------
Unless, anyone knows of a better way to pass variables from one page to another without having them in the url? (using php).
-----------
Thanks for the help,
Grant