I\'m trying to redirect a series of static URLs, and I want it to work whether or not the trailing slash is present:
/foo/bar ---> /tacos /foo/bar/ -->
Other than in EBNF or ABNF, a quantifier in regular expressions refers the preceding expression and not the following expression.
So:
RewriteRule ^foo/bar/?$ http://url.com/tacos