我在重定向方面遇到了麻烦。
我有/ confs / 2014 / [month] / [city] / [shortname] /例如:
/confs/2014/06/london/icamme/
/confs/2014/09/paris/icadd/
/confs/2014/10/losangles/icamad/
我有12个月,80个城市,众多的短名称,其下有真正的html文件。我想将它们重定向到php sys。 Php期望
的格式/conf/2014/[month]/[city]/[shortname]/
我试过以下
RewriteRule ^conferences\/2014\/(.*) conference/2014/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?path=$1 [L,QSA]
但它没有重定向