請幫忙動態URL中使用的htaccess在PHP轉換爲靜態URL在PHP重寫。URL通過htaccess的
實施例1:
www.example.com/say.php?name=ksrtc-palakkad-kerala&id=c669239
(動態URL)
www.example.com/say/ksrtc-palakkad-kerala-c669239.html
(靜態URL)
實施例2:
www.example.com/index.php?name=ksrtc-palakkad-kerala&id=c669239
(動態URL)
www.example.com/say/ksrtc-palakkad-kerala-c669239.html
(靜態URL)
問候, PRABHAT
感謝您的回覆我知道我必須使用htaccess,但我不知道如何在htaccess中寫入rewriterule,以便它能接受url「/say/ksrtc-palakkad-kerala-c669239.html – user1017808