这是我目前拥有的:
http://www.example.com/main?page=2
http://www.example.com/query?page=5
http://www.example.com/archives?page=2
我想将其替换为:
http://www.example.com/main/2
http://www.example.com/query/5
http://www.example.com/archives/2
但我仍然想要 $_GET['page'] :)
如何用 htaccess 做到这一点?