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的。跪求达人帮助
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的。跪求达人帮助
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货