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