Description:
By default, redirecting to an HTML anchor doesn't work, because mod_rewrite escapes the # character, turning it into %23. This, in turn, breaks the redirection.
Solution:
Use the [NE] flag on the RewriteRule. NE stands for No Escape.