规则高手进。帮分析一下,
规则写成这样是不是有些多?会不会对网站或是服务器代来负担 ?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ http://www.vipccc.net/$1 [R=301,L]
RewriteRule ^miyu/(.+).html$ miyu/?id=$1
RewriteRule ^baijiaxing/(.+).html$ baijiaxing/?id=$1
RewriteRule ^xiehouyu/(.+).html$ xiehouyu/?id=$1
RewriteRule ^quhao/(.+).html$ quhao/?id=$1
RewriteRule ^chengyu/(.+).html$ chengyu/?id=$1
RewriteRule ^jincheng/(.+).html$ jincheng/?id=$1
RewriteRule ^youbian/(.+).html$ youbian/?id=$1
RewriteRule ^raokouling/(.+).html$ raokouling/?id=$1
RewriteRule ^naojinjizhuanwan/(.+).html$ naojinjizhuanwan/?id=$1
RewriteRule ^shipu/(.+).html$ shipu/?id=$1
RewriteRule ^jiemeng/(.+).html$ jiemeng/?id=$1
RewriteRule ^jiufang/(.+).html$ jiufang/?id=$1
RewriteRule ^zhoupu/(.+).html$ zhoupu/?id=$1
RewriteRule ^jibing/(.+).html$ jibing/?id=$1
RewriteRule ^pianfang/(.+).html$ pianfang/?id=$1
RewriteRule ^zhongcaoyao/(.+).html$ zhongcaoyao/?id=$1
RewriteRule ^yaopin/(.+).html$ yaopin/?id=$1
RewriteRule ^chengyujielong/(.+).html$ chengyujielong/?id=$1
RewriteRule ^shici/(.+).html$ shici/?id=$1
RewriteRule ^zidian/(.+).html$ zidian/?id=$1
RewriteRule ^suoxie/(.+).html$ suoxie/?id=$1
RewriteRule ^xiaoshuo/(.+).html$ xiaoshuo/?id=$1
RewriteRule ^sanwen/(.+).html$ sanwen/?id=$1
RewriteRule ^sige/(.+).html$ sige/?id=$1
RewriteRule ^flag/([0-9]{4})([0-9]*)\.html$ flag/index.php?year=$1&month=$2 [QSA,L]
</IfModule>
[解决办法]
还没玩url重写,但是你都有疑问了那肯定是会有影响的。至于影响厉害不厉害还得问问看有实际经验的人,常理当然是条件越多越影响。