I am trying to rewrite/redirect a URL to another URL, but when it has a "#" in the arguments, this pulled through and shown in the new URL eg.
https://blah.co.uk/ep/doc/index.jsp#/download needs to be rewritten to https://blah.co.uk/Download/?Mode=doc
Now whatever I seem to try I always get the rewritten URL as https://blah.co.uk/Download/?Mode=doc#/download
it seems to always bring through the "#" and everything after it.