網址:
http://www.kashmirmart.com/display.php?cat_id=52&subcat_id=53&name=Woolen_Shawls如何應用重寫規則的htaccess在PHP這個網址
這裏貓ID,subcate ID和名稱始終是動態值
我想重寫這樣的:
http://www.kashmirmart.com/parentname/subcatname/page
例如:
http://www.kashmirmart.com/handicraft-industry/kashmir-craft/Woolen_Shawls
工藝品行業是父 克什米爾-工藝是手工業行業 Woolen_Shawls是最後詳細頁面在克什米爾,工藝列爲下的子類別
PLZ給我的解決方案儘早 感謝
網址不能包含空格。也請顯示你到目前爲止所嘗試的。 – elclanrs