.htaccess rewrite query string as path
问题 I've searched for this question but I only come across really specific answers that seem difficult to tailor to my specific needs. Let's say the URL I'm attempting to rewrite is this: http://www.example.org/test.php?whatever=something I want to rewrite it so that it appears as this: http://www.example.org/test/something How can I do this? 回答1: In order to route a request like /test/something to internally rewrite so that the content at /test.php?whatever=something gets served, you would use