RewriteCond %{THE_REQUEST} \?event_id=156&app=([a-z]+)
RewriteRule ^events/(index.php)$ http://www.xyz.com/is2011/?app=%1 [R=301,L]
RewriteCond %{THE_REQUEST} \?event_id=156
RewriteRule ^events/(index.php)$ http://www.xyz.com/is2011/? [R=301,L]
我只是想優化htaccess的代碼。我想合併上述兩條規則。我能做同樣的事嗎?請給我你的建議。htaccess優化
感謝名單roirodriguez。它的工作:)(抱歉遲到迴應) – munjal 2011-05-06 06:35:03