Results 1 to 3 of 3
May 3, 2014, 20:16 #1
- Join Date
- Aug 2010
- 2 Post(s)
- 0 Thread(s)
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...
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??