mod_rewrite for Pretty URL and Query String
I am retooling my URL to be part Pretty URL and part Query String to make it more SEO friendly.
In the past, my URL looked like this...
And my mod_rewrite looked like this...
RewriteRule ^([^/]+)/([^/]+)/$ articles/index-subsection.php?section=$1&subsection=$2 [L]
If someone decides to navigate to a different page, or perform a sort, then the URL above will change to something like this...
If I leave my mod_rewrite as it used to be, then I can have this new URL, but the $_GET variables appear to be blank.
How should I adapt my mod_rewrite so it works for either type of URL??