PW8.5转换成DZ2.5伪静态规则有问题,大部分的收录链接有问题,救命了!
WIN2003主机,IIS,
伪静态3
HTTDP.CONF
配置规则
RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 200
RewriteBase
# unsupported directive: [ISAPI_Rewrite]
#
[ISAPI_Rewrite]
# 本规则支持phpwind 8.5
RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
RewriteRule ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2
RewriteRule ^index.html$ index.php
RewriteRule ^login.html$ login.php
RewriteRule ^register.html$ register.php
RewriteRule ^profile.html$ profile.php
RewriteRule ^(.*?)/([0-9]+)$ $1.php?uid=$2
# 本规则支持 dz2.5
RewriteRule ^(.*)/topic-(.+).html(?(.*))*$ $1/portal.php?mod=topic&topic=$2&$4
RewriteRule ^(.*)/article-([0-9]+)-([0-9]+).html(?(.*))*$ $1/portal.php?mod=view&aid=$2&page=$3&$5
RewriteRule ^(.*)/forum-(w+)-([0-9]+).html(?(.*))*$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3&$5
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html(?(.*))*$ $1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3&$6
RewriteRule ^(.*)/group-([0-9]+)-([0-9]+).html(?(.*))*$ $1/forum.php?mod=group&fid=$2&page=$3&$5
RewriteRule ^(.*)/space-(username|uid)-(.+).html(?(.*))*$ $1/home.php?mod=space&$2=$3&$5
RewriteRule ^(.*)/blog-([0-9]+)-([0-9]+).html(?(.*))*$ $1/home.php?mod=space&uid=$2&do=blog&id=$3&$5
RewriteRule ^(.*)/(fid|tid)-([0-9]+).html(?(.*))*$ $1/index.php?action=$2&value=$3&$5
RewriteRule ^(.*)/([a-z]+[a-z0-9_]*)-([a-z0-9_-]+).html(?(.*))*$ $1/plugin.php?id=$23&$5
# 本规则支持phpwind8.5原有的静态链接转换成DZ2.5的静态链接
RewriteRule ^(.*)/thread-htm-fid-(d+)((-type-(d+))*(-page-(d+))*)*.html$ $1/forum.php?mod=forumdisplay&fid=$2&filter=type&typeid=$5&page=$7
RewriteRule ^(.*)/thread.php?fid-(d+)((-.+-(d+))*.html)*$ $1/forum.php?mod=forumdisplay&fid=$2&page=$5
RewriteRule ^(.*)/thread.php?fid=(d+)&type=(d+)$ $1/forum.php?mod=forumdisplay&fid=$2&filter=type&typeid=$3
RewriteRule ^(.*)/read-htm-tid-(w+)(-page-(d+|
百度收录的帖子还有类似如下打不开
http://www.dc81.com/html/htm_data/1.html
http://www.dc81.com/mode.php?m=o
http://www.dc81.com/html/htm_data/2.html
http://www.dc81.com/u/7695
http://www.dc81.com/faq-htm-hid-27.html
http://www.dc81.com/simple/archiver/?tid-4344.html
http://www.dc81.com/simple/archiver/?tid-6419.html
http://www.dc81.com/thread.php?fid=18&page=3
论坛的相关帖子,我已经阅读了,别给我参考其它的,帮忙写一个吧,我其它的都设置过了,不行啊
红色的链接给个规则把,谢谢 |