marcnyc wrote:unfortunately I can no do the same for m=0 as that is a value that changes for every page, unlike the language preference which stays throughout all the pages...
What is this value for? You can certainly store something that changes on each page load in a session.
marcnyc wrote:should I look into rewriting the URL via PHP so that I can grab my URL vars before rewriting? is that possible?
It can be done in the sense that you can redirect from PHP, but it is more efficient to do so at webserver level.
I believe the point of the URL rewriting is so that users who access your pages by the old URLs will see the page at the new URL rather than be turned away with a message that the page does not exist. So, you should focus on what your new clean URLs will look like, i.e., coming up with a suitable hierarchy and such, rather than blindly mapping from an old scheme to a new scheme in which the only difference is that the query string variables have been stuffed into the URL path.
Therefore, your motivation for rewriting at PHP level does not make sense: yes, you can access the query string at that point should the user access it via the old URL, but what about users who directly access your page via the new URL?