url.rewrite = (
“^/topic-(.+).html$” => “/portal.php?mod=topic&topic=$1”,
“^/article-([0-9]+)-([0-9]+).html$” => “/portal.php?mod=view&aid=$1&page=$2”,
“^/forum-(w+)-([0-9]+).html$” => “/forum.php?mod=forumdisplay&fid=$1&page=$2”,
“^/thread-([0-9]+)-([0-9]+)-([0-9]+).html$” => “/forum.php?mod=viewthread&tid=$1&extra=page=$3&page=$2”,
“^/group-([0-9]+)-([0-9]+).html$” => “/forum.php?mod=group&fid=$1&page=$2”,
“^/space-(username|uid)-(.+).html$” => “/home.php?mod=space&$1=$2”,
“^/blog-([0-9]+)-([0-9]+).html$” => “/home.php?mod=space&uid=$1&do=blog&page=$2”,
“^/archiver-(fid|tid)-([0-9]+).html$” => “/archiver/index.php?action=$1&page=$2”,
“^/([a-z]+)-(.+).html$” => “/$1.php?rewrite=$2”
)
共有 0 条评论