Using mod_rewrite to convert paths with hash characters into query strings

前端 未结 1 1695
醉酒成梦
醉酒成梦 2021-02-06 22:36

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

相关标签:
1条回答
  • 2021-02-06 22:48

    Encode the Hash in the URL with %23

    http://twitter.com/home?status=I+believe+in+%23love
    

    "I believe in #love"

    URL Encoding Reference: http://www.w3schools.com/tags/ref_urlencode.asp

    0 讨论(0)
提交回复
热议问题