I have this rewrite setting:
RewriteRule ^([a-zA-Z0-9_'-]+)$ /index.php?action=$1
but now I need for example to return an error to a register page by $_GET
/?action=register&error=1
but with the rewrite rule I can't get a PHP script to work with this URL:
/register&error=1
What rewrite rule do I need to make this work?