2014-03-07 77 views
0

我想添加更多的網址變量到我的網址...後有什麼?我想檢索它作爲一個URL變量謝謝!Isapi額外的網址變量

RewriteRule ^(.*).html?(.*)$ products.cfm?categ=$1&urls=$2 [NC,L] 
RewriteRule ^products.cfm?categ=(.*)&urls=(.*)$ (.*).html?(.*) [NC,R=301,L] 

回答

0
RewriteCond %{QUERY_STRING} ^condition=(\d+)&maxprice=(\d+)&minprice=(\d+)&persons=(\d+)&maxyear=(\d+)&minyear=(\d+)&order=(\d+)$ [NC] 
RewriteRule ^category/(.*).html$ products.cfm?categ=$1&condition=%1&maxprice=%2&minprice=%3&persons=%4&maxyear=%5&minyear=%6&order=%7? [NC,L]