我必須寫一個htaccess的重寫鏈接如下,也是404個 錯誤頁面到我的網站根目錄的重定向(主頁)Apache的.htaccess的重寫規則
www.example.com/index.php?page=find&name=detail&id=109&cid=8
www.example.com/index.php?page=find&name=detail&id=109
www.example.com/index.php?page=find&name=detail
www.example.com/index.php?page=find
應該重寫
www.example.com/find/name/detail/id/109/cid/8
www.example.com/find/name/detail/id/109
www.example.com/find/name/detail
www.example.com/find
如果URL是'www.example.com/foobar'應該是導致404或'www.example.com/index.php頁= foobar'? – anubhava 2014-09-26 14:08:14