When working with mod rewrite the get variables are being passed by the rewrite engine which is fine until you submit a form that uses $_GET method.
RewriteRule ^([a-z-]+)$ index.php?cat=$1
http://www.example.com/search?search=hello
If you print_r($_GET);
Array ( [cat] => search )
I'm guessing because modRewrite is handling the url the get variables outside of the ReWrite rule falls on def ears.
Is there a way round this or a tweak I can do to either the code or ReWrite rules.
The whole application runs through index.php so having a search.php isn't really an option.