I've got this in my .htaccess
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?
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^seo/([^/\.]+)/$ seo/$1 [R]
RewriteRule ^seo/([^/\.]+)$ some.php?stuff=$1
RewriteRule ^seo/(.*)$ $1 [R]
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?