我目前在.htaccess
处理此代码的工作正常:
(ex. RewriteRule "^new-jersey/(.*)" "location.php?c=$1" [NC,L])
可以在/new-jersey/city_example
但是,如果我在最后添加一个简单的-second-version
,它将不再有效:
(ex. RewriteRule "^new-jersey/(.*)-second-version" "location.php?c=$1" [NC,L])
我的目标是在/new-jersey/city_example-second-version