.htaccess redirect with #

I have the following directive in my .htaccess:

#RewriteRule ^mozrank/?$ "http://www.seobook.com/#a_aid=dh" [L]

The problem is that the redirect is going to
http://www.seobook.com/%23a_aid=dh

How to preserve the # when redirecting?

Try with:

RewriteRule ^mozrank/?$ "http://www.seobook.com/#a_aid=dh" [L,NE]
1 Like

It couldn't be easier, thank you!