0
我有這個網址的.htaccess爲相同的URL
http://localhost/sahara/product.php?action=viewcat
http://localhost/sahara/product.php?action=viewsubcat&catparent=40
和htaccess的是
RewriteRule product-action-(.*)\.html$ product.php?action=$1
RewriteRule product-action-(.*)-catparent-(.*)\.html$ product.php?action=$1&catparent=$2
然後當我打電話重寫URL,只有第一個代碼是工作
http://localhost/sahara/product-action-viewcat.html ---> it's work
http://localhost/sahara/product-action-viewsubcat-catparent-40.html ---> it's not work
什麼是我的腳本htaccess的正確代碼 謝謝
好吧,這是工作。謝謝 – 2013-05-03 08:11:44