mod_rewrite help

Status
Not open for further replies.

ScottSwing

Ars Scholae Palatinae
807
I've got this in my .htaccess

Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^seo/([^/\.]+)/$ seo/$1 [R]
RewriteRule ^seo/([^/\.]+)$ some.php?stuff=$1
RewriteRule ^seo/(.*)$ $1 [R]
And that successfully redirects example.com/seo/things to example.com/some.php?stuff=things.

The problem is when I try to access example.com/seo/things?get=value the extra arguments aren't getting passed because it's tagging on an extra '?' to the URI. How do I fix this?
 
Status
Not open for further replies.