具体方法:
首先进入后台>全局>优化设置>搜索引擎优化
1.将下列右边的
小框点上
2.开启
Rewrite 兼容性,如下图:
PS:(有高手讲:开启兼容性有问题,打开中文用户空间提示用户空间不存在,关闭兼容性好点。建议关闭兼容性)
3.点击 「提
交」,保存以上设置。
4.下载伪静态文
件 「httpd.ini」,文件规则代码见以下内容:
- [ISAPI_Rewrite]
- # 3600 = 1 hour
- CacheClockRate 3600
- RepeatLimit 32
- # Protect httpd.ini and httpd.parse.errors files
- # from accessing through HTTP
- 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 ^(.*)/([a-z]+)-(.+).html(?(.*))*$
$1/$2.php?rewrite=$3&$5
5.下载 iss 伪
静态文件,点击下面压缩包下载,下载解压后上传致你的论坛根目录
httpd.rar