我怎樣才能改變從PHP鏈接沒有擴展
www.example.com/index.php?id=123&g=123
鏈接
www.example.com/index/id/123/g/123
?
謝謝:)
編輯: 請不要告訴我「使用國防部重寫」,告訴我如何使用它:d
我怎樣才能改變從PHP鏈接沒有擴展
www.example.com/index.php?id=123&g=123
鏈接
www.example.com/index/id/123/g/123
?
謝謝:)
編輯: 請不要告訴我「使用國防部重寫」,告訴我如何使用它:d
你想使用URL重寫。看到這篇文章來實現這一目標:
http://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/
''htaccess''mod_rewrite' rewriterule'可能是有益的探索標籤爲您 – Davit 2013-03-18 00:17:47
可能重複http://stackoverflow.com/questions/4026021/remove-php- extension-with-htaccess http://stackoverflow.com/questions/12138697/htaccess-rewrite-php-to-virtual-folder – Mate 2013-03-18 00:18:37
'告訴我如何使用它' - 你怎麼告訴我們你試過了什麼? – DaveRandom 2013-03-18 00:28:32