影视点评/影视分享伪静态规则
如不知道自己使用的是哪种静态规则或不知道怎么添加,请咨询您的空间商。
也可以参考你的规则文件里的规则写法,使用对应的规则
如有错误,请联系QQ客服(不在线先留言,并先离线发送您的规则文件过来)。
添加规则后没生效,可尝试重启服务器。
Apache Web Server规则
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie\.html$ plugin.php?id=xlwsq_ysdp&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_ysdp&fl=$1&lx=$2&dq=$3&yy=$4&nf=$5&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_ysdp&fl=$1&lx=$2&dq=$3&yy=$4&nf=$5&page=$6&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ plugin.php?id=xlwsq_ysdp&fl=$1&lx=$2&dq=$3&yy=$4&nf=$5&tj=tj&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_hot\.html$ plugin.php?id=xlwsq_ysdp&fl=$1&lx=$2&dq=$3&yy=$4&nf=$5&hot=hot&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_([0-9]+)\.html$ plugin.php?id=xlwsq_ysdp&mod=view&sid=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_([0-9]+)_pic\.html$ plugin.php?id=xlwsq_ysdp&mod=pic&sid=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_([0-9]+)_play_([0-9]+)\.html$ plugin.php?id=xlwsq_ysdp&mod=play&sid=$1&vid=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_user\.html$ plugin.php?id=xlwsq_ysdp:xlwsq_ysdp_user&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_user_add\.html$ plugin.php?id=xlwsq_ysdp:xlwsq_ysdp_user&p=add&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_user_favorites\.html$ plugin.php?id=xlwsq_ysdp:xlwsq_ysdp_user&p=favorites&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_ztlist\.html$ plugin.php?id=xlwsq_ysdp&mod=zhuantilist&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_ztlist_([0-9]+)\.html$ plugin.php?id=xlwsq_ysdp&mod=zhuantilist&page=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_ztlist_view\.html$ plugin.php?id=xlwsq_ysdp&mod=zhuantilist&paixu=view&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^movie_zt_([0-9]+)\.html$ plugin.php?id=xlwsq_ysdp&mod=zhuantiview&ztid=$1&%1
IIS Web Server规则 iis6 (添加后,重启下IIS)
RewriteRule ^(.*)/movie\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp
RewriteRule ^(.*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6
RewriteRule ^(.*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6&page=$7
RewriteRule ^(.*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6&tj=tj
RewriteRule ^(.*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_hot\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6&hot=hot
RewriteRule ^(.*)/movie_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&mod=view&sid=$2
RewriteRule ^(.*)/movie_([0-9]+)_pic\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&mod=pic&sid=$2
RewriteRule ^(.*)/movie_([0-9]+)_play_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&mod=play&sid=$2&vid=$3
RewriteRule ^(.*)/movie_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp:xlwsq_ysdp_user
RewriteRule ^(.*)/movie_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp:xlwsq_ysdp_user&p=add
RewriteRule ^(.*)/movie_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp:xlwsq_ysdp_user&p=favorites
RewriteRule ^(.*)/movie_ztlist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&mod=zhuantilist
RewriteRule ^(.*)/movie_ztlist_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&mod=zhuantilist&page=$2
RewriteRule ^(.*)/movie_ztlist_view\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&mod=zhuantilist&paixu=view
RewriteRule ^(.*)/movie_zt_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_ysdp&mod=zhuantiview&ztid=$2
Nginx Web Server规则 (如无效,请尝试重启)
rewrite ^([^\.]*)/movie\.html$ $1/plugin.php?id=xlwsq_ysdp last;
rewrite ^([^\.]*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_ysdp:xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6 last;
rewrite ^([^\.]*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)([0-9]+)\.html$ $1/plugin.php?id=xlwsq_ysdp:xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6&page=$7 last;
rewrite ^([^\.]*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ $1/plugin.php?id=xlwsq_ysdp:xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6&tj=tj last;
rewrite ^([^\.]*)/movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_hot\.html$ $1/plugin.php?id=xlwsq_ysdp:xlwsq_ysdp&fl=$2&lx=$3&dq=$4&yy=$5&nf=$6&hot=hot last;
rewrite ^([^\.]*)/movie_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_ysdp&mod=view&sid=$2 last;
rewrite ^([^\.]*)/movie_([0-9]+)_pic\.html$ $1/plugin.php?id=xlwsq_ysdp&mod=pic&sid=$2 last;
rewrite ^([^\.]*)/movie_([0-9]+)_play_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_ysdp&mod=play&sid=$2&vid=$3 last;
rewrite ^([^\.]*)/movie_user\.html$ $1/plugin.php?id=xlwsq_ysdp:xlwsq_ysdp_user last;
rewrite ^([^\.]*)/movie_user_add\.html$ $1/plugin.php?id=xlwsq_ysdp:xlwsq_ysdp_user&p=add last;
rewrite ^([^\.]*)/movie_user_favorites\.html$ $1/plugin.php?id=xlwsq_ysdp:xlwsq_ysdp_user&p=favorites last;
rewrite ^([^\.]*)/movie_ztlist\.html$ $1/plugin.php?id=xlwsq_ysdp&mod=zhuantilist last;
rewrite ^([^\.]*)/movie_ztlist_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_ysdp&mod=zhuantilist&page=$2 last;
rewrite ^([^\.]*)/movie_ztlist_view\.html$ $1/plugin.php?id=xlwsq_ysdp&mod=zhuantilist&paixu=view last;
rewrite ^([^\.]*)/movie_zt_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_ysdp&mod=zhuantiview&ztid=$2 last;
IIS7规则 (添加后,重启下IIS)
<rule name=\"xlwsqmovie1\">
<match url=\"^(.*/)*movie.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp\" />
</rule>
<rule name=\"xlwsqmovie2\">
<match url=\"^(.*/)*movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&fl={R:2}&lx={R:3}&dq={R:4}&yy={R:5}&nf={R:6}\" />
</rule>
<rule name=\"xlwsqmovie3\">
<match url=\"^(.*/)*movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&fl={R:2}&lx={R:3}&dq={R:4}&yy={R:5}&nf={R:6}&page={R:7}\" />
</rule>
<rule name=\"xlwsqmovie4\">
<match url=\"^(.*/)*movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&fl={R:2}&lx={R:3}&dq={R:4}&yy={R:5}&nf={R:6}&tj=tj\" />
</rule>
<rule name=\"xlwsqmovie5\">
<match url=\"^(.*/)*movie_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_hot.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&fl={R:2}&lx={R:3}&dq={R:4}&yy={R:5}&nf={R:6}&hot=hot\" />
</rule>
<rule name=\"xlwsqmovie6\">
<match url=\"^(.*/)*movie_([0-9]+).html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&mod=view&sid={R:2}\" />
</rule>
<rule name=\"xlwsqmovie7\">
<match url=\"^(.*/)*movie_([0-9]+)_pic.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&mod=pic&sid={R:2}\" />
</rule>
<rule name=\"xlwsqmovie8\">
<match url=\"^(.*/)*movie_([0-9]+)_play_([0-9]+).html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&mod=play&sid={R:2}&vid={R:3}\" />
</rule>
<rule name=\"xlwsqmovie9\">
<match url=\"^(.*/)*movie_user.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp:xlwsq_ysdp_user\" />
</rule>
<rule name=\"xlwsqmovie10\">
<match url=\"^(.*/)*movie_user_add.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp:xlwsq_ysdp_user&p=add\" />
</rule>
<rule name=\"xlwsqmovie11\">
<match url=\"^(.*/)*movie_user_favorites.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp:xlwsq_ysdp_user&p=favorites\" />
</rule>
<rule name=\"xlwsqxiazai12\">
<match url=\"^(.*/)*movie_ztlist.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&mod=zhuantilist\" />
</rule>
<rule name=\"xlwsqxiazai13\">
<match url=\"^(.*/)*movie_ztlist_([0-9]+).html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&mod=zhuantilist&page={R:2}\" />
</rule>
<rule name=\"xlwsqxiazai14\">
<match url=\"^(.*/)*movie_zt_([0-9]+).html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&mod=zhuantiview&ztid={R:2}\" />
</rule>
<rule name=\"xlwsqxiazai15\">
<match url=\"^(.*/)*movie_ztlist_view.html\?*(.*)$\" />
<action type=\"Rewrite\" url=\"{R:1}/plugin.php\?id=xlwsq_ysdp&mod=zhuantilist&paixu=view\" />
</rule>
如修改默认伪静态规则名(movie),以下静态链接里的 movie也要进行相应修改。(等号右边动态xlwsq_ysdp不要改动)
例子:(把movie改为 ysdp)
原句:RewriteRule ^movie\.html$ plugin.php?id=xlwsq_ysdp
改后:RewriteRule ^ysdp\.html$ plugin.php?id=xlwsq_ysdp
提醒:修改的名称,不要和其它规则相同