Trouble with Permalink redirects due to fragment after "#" not being sent to server

These are not complete solutions because redirects still won’t work unless the user is already in Discourse. External links are much less likely to arrive that way.