论坛版块ID 主题ID 附件ID 用户ID 都是一样的。
跟帖的ID就变了,但不影响。
如果DV原来使用伪静态的话,可将原来的伪静态解析到新的地址来,下面是我在用的:- # 重写DZ的index.asp
- RewriteRule /index_(\d+)_(\d*)_(.*)_(\d*)\.html /forum\.php\?mod=forumdisplay&fid=$1&page=$4 [N,I]
- RewriteRule /index_(\d+)_(.*)_(\d*)_(.*)_(\d*)\.html /forum\.php\?mod=forumdisplay&fid=$1&page=$5 [N,I]
- RewriteRule /index_(\d+)_(.*)_(\d*)_(\d*)\.html /forum\.php\?mod=forumdisplay&fid=$1&page=$4 [N,I]
- RewriteRule /index_(\d+)_(\d*)_(.*)\.html /forum\.php\?mod=forumdisplay&fid=$1&page=$2 [N,I]
- RewriteRule /index_(\d+)_(\d*)\.html /forum\.php\?mod=forumdisplay&fid=$1 [N,I]
- RewriteRule /index_(\d+)_(\d*)_\.html /forum\.php\?mod=forumdisplay&fid=$1&page=$2 [N,I]
- # RewriteRule /index_(\d+)__\.html /forum\.php\?mod=forumdisplay&fid=$1 [N,I]
- RewriteRule /index_(\d+)\.html /forum\.php\?mod=forumdisplay&fid=$1 [N,I]
- RewriteRule /index\.html(.*) /forum\.php [N,I]
- # 重写 DZ dispbbs.asp
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_skin(\d*)_(\d*)_(\d*)\.html /forum\.php\?mod=viewthread&tid=$2&extra=&page=$6 [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_skin(\d*)_(\d*)\.html /forum\.php\?mod=viewthread&tid=$2&extra=&page=$5 [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_skin(\d*)\.html /forum\.php\?mod=viewthread&tid=$2 [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_(\d*)_(\d*)\.html /forum\.php\?mod=viewthread&tid=$2&page=$5&authorid=$3 [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_(\d*)_lastid(\d*)\.html /forum\.php\?mod=redirect&tid=$2&goto=lastpost [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_(\d*)\.html /forum\.php\?mod=viewthread&tid=$2&page=$4 [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_(\w+)\.html /forum\.php\?mod=viewthread&tid=$2 [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)\.html /forum\.php\?mod=viewthread&tid=$2 [N,I]
- RewriteRule /dispbbs_(\d+)_(\d*)\.html /forum\.php\?mod=viewthread&tid=$2 [N,I]
复制代码 |