Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[转换] [zeus]求助,pw转dz,怎么把已经收录的pw伪静态转成dz伪静态?

[复制链接]
我绑架了上帝 发表于 2013-5-26 22:27:02 | 显示全部楼层 |阅读模式
match URL into $ with ^(.*)-htm-(.*)$
if matched then
set URL = $1.php?$2
endif
match URL into $ with ^(.*)/simple/([a-z0-9\_]+\.html)$
if matched then
set URL = $1/simple/index.php?$2
endif
match URL into $ with ^(.*)/topic_(.*)_(.*)_(.*).html$
if matched then
set URL = $1/read.php?tid=$2&page=$3&fpage=$4
endif

match URL into $ with ^(.*)/topic_(.*)_(.*).html$
if matched then
set URL = $1/read.php?tid=$2&page=$3&fpage=$4
endif
match URL into $ with ^(.*)/topic_(.*).html$
if matched then
set URL = $1/read.php?tid=$2&page=$3&fpage=$4
endif
match URL into $ with ^(.*)/forum_(.*)_(.*).html$
if matched then
set URL = $1/thread.php?fid=$2&page=$3
endif
match URL into $ with ^(.*)/forum_(.*).html$
if matched then
set URL = $1/thread.php?fid=$2&page=$3
endif


怎么将以上已收录的地址重定向dz的伪静态?

DZ伪静态zeus规则



match URL into $ with ^(.*)/topic-(.+)\.html\?*(.*)$
if matched then
set URL = $1/portal.php?mod=topic&topic=$2&$3
endif
match URL into $ with ^(.*)/article-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/portal.php?mod=view&aid=$2&page=$3&$4
endif
match URL into $ with ^(.*)/f-(\w+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/forum.php?mod=forumdisplay&fid=$2&page=$3&$4
endif
match URL into $ with ^(.*)/t-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/forum.php?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$5
endif
match URL into $ with ^(.*)/group-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/forum.php?mod=group&fid=$2&page=$3&$4
endif
match URL into $ with ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$
if matched then
set URL = $1/home.php?mod=space&$2=$3&$4
endif
match URL into $ with ^(.*)/blog-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/home.php?mod=space&uid=$2&do=blog&id=$3&$4
endif
match URL into $ with ^(.*)/(fid|tid)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/index.php?action=$2&value=$3&$4
endif
规则怎么写呢?





您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-4-23 17:58 , Processed in 0.342591 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表