0
我有名字products
一个文件夹,我想与htaccess的重写(htaccess的被放置在文件夹中)的.htaccess规则不工作
我已经使用的代码是
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /products/
RewriteRule ^([a-z]+)/([a-z]+)/([0-9]+)$ index.php?product=$1&brand=$2&page=$3 [L,QSA]
现在我想实现是 我想
abc.com/products/index.php?product=toshiba-laptop&brand=toshiba&page=3
到
0转换
你有没有设置'的AllowOverride all'在你的虚拟主机? – Stony 2014-12-27 17:21:53
yes allowoverride设置为全部 – opncart 2014-12-27 17:23:00
@opncart'([0-9] +)'应该与'toshiba'匹配吗? – Sumurai8 2014-12-27 17:43:52