Use urldefrag to remove the hashtag anchor at the end of the link.