I am having an issue with rewriting an url via .htaccess
,
I have the following url
www.website.com/people.php?search=search
via htaccess
I turn it into .../people/search
RewriteRule ^people/([a-zA-Z0-9]+)$ people.php?search=$1
RewriteRule ^people/([a-zA-Z0-9]+)/$ people.php?search=$1search=$1
in the url the user can also add a location which should be
www.website.com/people.php?search=something&&location=something
How can I use rewrite rule to add the two search parameters to the new rewrite url?