不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
添加规则后没生效,请尝试重启服务器,重启服务器,重启服务器。
=====================Apache Web Server规则=====================(分割线不需要复制)
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh\.html$ plugin.php?id=xlwsq_wxdh&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_cate\.html$ plugin.php?id=xlwsq_wxdh&mod=cate&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_list\.html$ plugin.php?id=xlwsq_wxdh&mod=list&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_wxdh&mod=list&a=$1&b=$2&lx=$3&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_wxdh&mod=list&a=$1&b=$2&lx=$3&page=$4&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ plugin.php?id=xlwsq_wxdh&mod=list&a=$1&b=$2&lx=$3&paixu=tj&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_view\.html$ plugin.php?id=xlwsq_wxdh&mod=list&a=$1&b=$2&lx=$3&paixu=view&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_([0-9]+)\.html$ plugin.php?id=xlwsq_wxdh&mod=view&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_ztlist\.html$ plugin.php?id=xlwsq_wxdh&mod=zhuantilist&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_ztlist_([0-9]+)\.html$ plugin.php?id=xlwsq_wxdh&mod=zhuantilist&page=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_ztlist_view\.html$ plugin.php?id=xlwsq_wxdh&mod=zhuantilist&paixu=view&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_zt_([0-9]+)\.html$ plugin.php?id=xlwsq_wxdh&mod=zhuantiview&ztid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_zt_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_wxdh&mod=zhuantiview&ztid=$1&page=$2&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_user\.html$ plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_user_mylist\.html$ plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=mylist&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_user_add\.html$ plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=add&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_user_favorites\.html$ plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=favorites&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^wxdh_user_xfjl\.html$ plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=xfjl&%1
复制代码- RewriteRule ^(.*)/wxdh\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh
- RewriteRule ^(.*)/wxdh_cate\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=cate
- RewriteRule ^(.*)/wxdh_list\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=list
- RewriteRule ^(.*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4
- RewriteRule ^(.*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4&page=$5
- RewriteRule ^(.*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4&paixu=tj
- RewriteRule ^(.*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_view\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4&paixu=view
- RewriteRule ^(.*)/wxdh_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=view&sid=$2
- RewriteRule ^(.*)/wxdh_ztlist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=zhuantilist
- RewriteRule ^(.*)/wxdh_ztlist_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=zhuantilist&page=$2
- RewriteRule ^(.*)/wxdh_ztlist_view\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=zhuantilist&paixu=view
- RewriteRule ^(.*)/wxdh_zt_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=zhuantiview&ztid=$2
- RewriteRule ^(.*)/wxdh_zt_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh&mod=zhuantiview&ztid=$2&page=$3
- RewriteRule ^(.*)/wxdh_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh:xlwsq_wxdh_user
- RewriteRule ^(.*)/wxdh_user_mylist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=mylist
- RewriteRule ^(.*)/wxdh_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=add
- RewriteRule ^(.*)/wxdh_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=favorites
- RewriteRule ^(.*)/wxdh_user_xfjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=xfjl
复制代码- rewrite ^([^\.]*)/wxdh\.html$ $1/plugin.php?id=xlwsq_wxdh last;
- rewrite ^([^\.]*)/wxdh_cate\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=cate last;
- rewrite ^([^\.]*)/wxdh_list\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=list last;
- rewrite ^([^\.]*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4& last;
- rewrite ^([^\.]*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4&page=$5 last;
- rewrite ^([^\.]*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4&paixu=tj last;
- rewrite ^([^\.]*)/wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_view\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh&mod=list&a=$2&b=$3&lx=$4&paixu=view last;
- rewrite ^([^\.]*)/wxdh_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=view&sid=$2 last;
- rewrite ^([^\.]*)/wxdh_ztlist\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=zhuantilist last;
- rewrite ^([^\.]*)/wxdh_ztlist_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=zhuantilist&page=$2 last;
- rewrite ^([^\.]*)/wxdh_ztlist_view\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=zhuantilist&paixu=view last;
- rewrite ^([^\.]*)/wxdh_zt_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=zhuantiview&ztid=$2 last;
- rewrite ^([^\.]*)/wxdh_zt_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_wxdh&mod=zhuantiview&ztid=$2&page=$3 last;
- rewrite ^([^\.]*)/wxdh_user\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user last;
- rewrite ^([^\.]*)/wxdh_user_mylist\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=mylist last;
- rewrite ^([^\.]*)/wxdh_user_add\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=add last;
- rewrite ^([^\.]*)/wxdh_user_favorites\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=favorites last;
- rewrite ^([^\.]*)/wxdh_user_xfjl\.html$ $1/plugin.php?id=xlwsq_wxdh:xlwsq_wxdh_user&p=xfjl last;
复制代码- <rule name="xlwsqwxdh1">
- <match url="^(.*/)*wxdh.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh" />
- </rule>
- <rule name="xlwsqwxdh2">
- <match url="^(.*/)*wxdh_cate.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=cate" />
- </rule>
- <rule name="xlwsqwxdh3">
- <match url="^(.*/)*wxdh_list.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=list" />
- </rule>
- <rule name="xlwsqwxdh4">
- <match url="^(.*/)*wxdh_list_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&a={R:2}&b={R:3}&lx={R:4}" />
- </rule>
- <rule name="xlwsqwxdh5">
- <match url="^(.*/)*wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&a={R:2}&b={R:3}&lx={R:4}&page={R:5}" />
- </rule>
- <rule name="xlwsqwxdh6">
- <match url="^(.*/)*wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_tj.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&a={R:2}&b={R:3}&lx={R:4}&paixu=tj" />
- </rule>
- <rule name="xlwsqwxdh7">
- <match url="^(.*/)*wxdh_list_([0-9]+)_([0-9]+)_([0-9]+)_view.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&a={R:2}&b={R:3}&lx={R:4}&paixu=view" />
- </rule>
- <rule name="xlwsqwxdh8">
- <match url="^(.*/)*wxdh_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=view&sid={R:2}" />
- </rule>
- <rule name="xlwsqwxdh9">
- <match url="^(.*/)*wxdh_ztlist.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=zhuantilist" />
- </rule>
- <rule name="xlwsqwxdh10">
- <match url="^(.*/)*wxdh_ztlist_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=zhuantilist&page={R:2}" />
- </rule>
- <rule name="xlwsqwxdh11">
- <match url="^(.*/)*wxdh_ztlist_view.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=zhuantilist&paixu=view" />
- </rule>
- <rule name="xlwsqwxdh12">
- <match url="^(.*/)*wxdh_zt_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=zhuantiview&ztid={R:2}" />
- </rule>
- <rule name="xlwsqwxdh13">
- <match url="^(.*/)*wxdh_zt_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh&mod=zhuantiview&ztid={R:2}&page={R:3}" />
- </rule>
- <rule name="xlwsqwxdh14">
- <match url="^(.*/)*wxdh_user.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh:xlwsq_wxdh_user" />
- </rule>
- <rule name="xlwsqwxdh15">
- <match url="^(.*/)*wxdh_user_mylist.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=mylist" />
- </rule>
- <rule name="xlwsqwxdh16">
- <match url="^(.*/)*wxdh_user_add.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=add" />
- </rule>
- <rule name="xlwsqwxdh17">
- <match url="^(.*/)*wxdh_user_favorites.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=favorites" />
- </rule>
- <rule name="xlwsqwxdh18">
- <match url="^(.*/)*wxdh_user_xfjl.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wxdh:xlwsq_wxdh_user&p=xfjl" />
- </rule>
复制代码
|