http://123.com/xxx/  → http://123.com/abc/index.php?word=xxx
http://123.com/xxx-2/  → http://123.com/abc2/index.php?word=xxx
http://123.com/xxx-3/  → http://123.com/abc3/index.php?word=xxx
RewriteRule ^(.*)/$ company/index.php?name=$1
RewriteRule ^(.*)-2/$ company2/index.php?name=$1
已经写好规则 但是 1能匹配对 2就不对  把1删了2就对了。
因为规则 1的匹配规则是可以包含2的。跪求达人帮助