I'm using the following rewrite rule in my .htaccess file, but whenever i add parameters to the string it makes the rewrite fail
RewriteRule ^c([0-9]+)/[a-zA-z0-9\-]+$ category.php?id=$1 [L]
For example:
If i go to the following, all works fine:
c87/newest-post
But if i go to:
c87/newest-post?param1=this¶m2=that
c87/newest-post/?param1=this¶m2=that
it redirects incorrectly and fails. I think it has something to do with the QSA tag, but with my poor knowledge of redirects i cant see what I'm doing wrong.