本地商家电话114伪静态规则
不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
如有规则有错误,请联系QQ客服(不在线先留言,并先离线发送您的规则文件过来)。
添加规则后没生效,请尝试重启服务器,重启服务器,重启服务器。
=====================Apache Web Server规则=====================(分割线不需要复制)
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114\.html$ plugin.php?id=xlwsq_114&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_114&a=$1&b=$2&bc=$3&sc=$4&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_114&a=$1&b=$2&bc=$3&sc=$4&page=$6&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ plugin.php?id=xlwsq_114&a=$1&b=$2&bc=$3&sc=$4&paixu=tj&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html$ plugin.php?id=xlwsq_114&a=$1&b=$2&bc=$3&sc=$4&paixu=rq&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_([0-9]+)\.html$ plugin.php?id=xlwsq_114&mod=view&sid=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_user\.html$ plugin.php?id=xlwsq_114:xlwsq_114_user&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_user_mylist\.html$ plugin.php?id=xlwsq_114:xlwsq_114_user&p=mylist&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_user_add\.html$ plugin.php?id=xlwsq_114:xlwsq_114_user&p=add&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_user_favorites\.html$ plugin.php?id=xlwsq_114:xlwsq_114_user&p=favorites&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^114_user_xfjl\.html$ plugin.php?id=xlwsq_114:xlwsq_114_user&p=xfjl&%1
=====================IIS6规则=====================
RewriteRule ^(.*)/114\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114
RewriteRule ^(.*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114&a=$2&b=$3&bc=$4&sc=$5
RewriteRule ^(.*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114&a=$2&b=$3&bc=$4&sc=$5&page=$6
RewriteRule ^(.*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114&a=$2&b=$3&bc=$4&sc=$5&paixu=tj
RewriteRule ^(.*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114&a=$2&b=$3&bc=$4&sc=$5&paixu=rq
RewriteRule ^(.*)/114_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114&mod=view&sid=$2
RewriteRule ^(.*)/114_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114:xlwsq_114_user
RewriteRule ^(.*)/114_user_mylist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114:xlwsq_114_user&p=mylist
RewriteRule ^(.*)/114_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114:xlwsq_114_user&p=add
RewriteRule ^(.*)/114_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114:xlwsq_114_user&p=favorites
RewriteRule ^(.*)/114_user_xfjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_114:xlwsq_114_user&p=xfjl
=====================Nginx Web Server规则=====================
rewrite ^([^\.]*)/114\.html$ $1/plugin.php?id=xlwsq_114 last;
rewrite ^([^\.]*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114&a=$2&b=$3&bc=$4&sc=$5 last;
rewrite ^([^\.]*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114&a=$2&b=$3&bc=$4&sc=$5&page=$6 last;
rewrite ^([^\.]*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114&a=$2&b=$3&bc=$4&sc=$5&paixu=tj last;
rewrite ^([^\.]*)/114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114&a=$2&b=$3&bc=$4&sc=$5&paixu=rq last;
rewrite ^([^\.]*)/114_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_114&mod=view&sid=$2 last;
rewrite ^([^\.]*)/114_user\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114_user last;
rewrite ^([^\.]*)/114_user_mylist\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114_user&p=mylist last;
rewrite ^([^\.]*)/114_user_add\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114_user&p=add last;
rewrite ^([^\.]*)/114_user_favorites\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114_user&p=favorites last;
rewrite ^([^\.]*)/114_user_xfjl\.html$ $1/plugin.php?id=xlwsq_114:xlwsq_114_user&p=xfjl last;
=====================IIS7(或7以上)规则=====================
<rule name="xlwsq1141">
<match url="^(.*/)*114.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114" />
</rule>
<rule name="xlwsq1142">
<match url="^(.*/)*114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}" />
</rule>
<rule name="xlwsq1143">
<match url="^(.*/)*114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&page={R:6}" />
</rule>
<rule name="xlwsq1144">
<match url="^(.*/)*114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&paixu=tj" />
</rule>
<rule name="xlwsq1145">
<match url="^(.*/)*114_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&paixu=rq" />
</rule>
<rule name="xlwsq1146">
<match url="^(.*/)*114_([0-9]+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114&mod=view&sid={R:2}" />
</rule>
<rule name="xlwsq1147">
<match url="^(.*/)*114_user.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114:xlwsq_114_user" />
</rule>
<rule name="xlwsq1148">
<match url="^(.*/)*114_user_mylist.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114:xlwsq_114_user&p=mylist" />
</rule>
<rule name="xlwsq1149">
<match url="^(.*/)*114_user_add.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114:xlwsq_114_user&p=add" />
</rule>
<rule name="xlwsq11410">
<match url="^(.*/)*114_user_favorites.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114:xlwsq_114_user&p=favorites" />
</rule>
<rule name="xlwsq11411">
<match url="^(.*/)*114_user_xfjl.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_114:xlwsq_114_user&p=xfjl" />
</rule>
=====================其它说明=====================
如修改默认伪静态规则名(114),以下静态链接里的 114 也要进行相应修改。(等号右边动态xlwsq_114不要改动)
例子:(把114改为 dianhua)
原句:RewriteRule ^114\.html$ plugin.php?id=xlwsq_114
改后:RewriteRule ^dianhua\.html$ plugin.php?id=xlwsq_114
修改的名称,请勿和其它规则名称冲突。