Using mod_rewrite to convert paths with hash characters into query strings
问题 I have a PHP project where I need to send a hash character (#) within the path of a URL. (http://www.example.com/parameter#23/parameter#67/index.php) I thought that urlencode would allow that, converting the hash to %23 But now I see that even the urlencoded hash forces the browser to treat everything to the right as the URL fragment (or query). Is there a way to pass a hash through, or do I need to do a character substitution prior to urlencode? Edit to add (Sep 19 2017): It turns out that I