Right now im sending my errors to my script using the following
Say my error is an invalid username, i redirect to domain.com/error/username
RewriteRule ^error/(.+)$/ index.php?switch=error&errortype=$1 [L]
but say i wanted to also pass the erroneous value as well, i tried the below, but it looks like its not the correct way. Redirect to: domain.com/error/username/thisisnotauser
RewriteRule ^error/(.+)$/(.+)$/ index.php?switch=error&errortype=$1&errorid=$2 [L]