I have a single page website that uses the hash (#) to access different pages.
The problem is that some PDF viewers break my links encoding the hash character, replacing
%23, so for example the link
I'm trying to correct this using an htaccess rule that rewrites the URL:
RewriteEngine On RewriteRule ^(.*)%23(.*)$ /$1#$2 [L,R=301,NE]
but it doesn't seem to work, what can I do?