Re伪静态迷糊了。
discuz X2 伪静态设置
在server区域添加以下内容即可,最好写上注释方便维护。
# discuz X2 正式伪静态开始
rewrite ^([^\.]*)/topic-(. )\.html$ $1/portal.php?mod=topic&topic=$2
rewrite ^([^\.]*)/article-([0-9] )-([0-9] )\.html$ $1/portal.php?mod=view&aid=$2&page=$3
rewrite ^([^\.]*)/forum-(\w )-([0-9] )\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3
rewrite ^([^\.]*)/thread-([0-9] )-([0-9] )-([0-9] )\.html$ $1/forum.php?mod=viewthread&tid=$2&extra=page=$4&page=$3
rewrite ^([^\.]*)/group-([0-9] )-([0-9] )\.html$ $1/forum.php?mod=group&fid=$2&page=$3
rewrite ^([^\.]*)/space-(username|uid)-(. )\.html$ $1/home.php?mod=space&$2=$3
rewrite ^([^\.]*)/blog-([0-9] )-([0-9] )\.html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3
rewrite ^([^\.]*)/(fid|tid)-([0-9] )\.html$ $1/index.php?action=$2&value=$3
# discuz X2 正式版伪静态结束
discuz X3可以使用x2的规则,试一下。