Apache
修正Apache的规则
找见主网站根目录下 .htaccess,如果你的discuz网站启用了静态化,在末了添加:

RewriteCond %{QUERY_STRING} ^(.)$RewriteRule ^(.)/tag/(.+)\.html$ $1/misc.php\?mod=tag&id=$2RewriteCond %{QUERY_STRING} ^(.)$RewriteRule ^(.)/tag/tag.html$ $1/bbs/misc.php\?mod=tag
如何你的discuz程序在网站根目录,如下添加:
RewriteCond %{QUERY_STRING} ^(.)$RewriteRule ^(.)/tag/(.+)\.html$ $1/misc.php\?mod=tag&id=$2RewriteCond %{QUERY_STRING} ^(.)$RewriteRule ^(.)/tag/tag.html$ $1/misc.php\?mod=tag
检讨前面的代码,看看是否开启了插件静态的支持,没有的话,填在最下面:类似以下的代码:
RewriteRule ^(.)/([a-z]+[a-z0-9_])-([a-z0-9_\-]+)\.html$ $1/plugin.php?id=$2:$3&%1
或者
RewriteRule ^(.)/([a-z]+[a-z0-9_])-([a-z0-9_\-]+)\.html(\?(.))$ $1/plugin\.php\?id=$2:$3&$5
查看办法---discuz后台--全局--seo--看看静态支持里有没有插件,是否选中,默认你只要开器了,这个选项是有的,以是这一步,你可以忽略。
修正viewthread_node_body.htm
打开template/default(模板风格)/forum/viewthread_node_body.htm,查找:
misc.php?mod=tag&id=$var[0]
更换:
tag/$var[0].html
即:
查找:<a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a> 更换为:<a title="$var[1]" href="$var[0].html" target="_blank">$var[1]</a>
修正tagitem.htm
打开template/default/tag/tagitem.htm,查找:
misc.php?mod=tag
更换为:
/bbs/tag/tag.html
你的论坛如果是网站主域名下(根目录下:)更换为:
/tag/tag.html
misc.php?mod=tag&id=$id 更换为:
tag/$id.html
修正tag.htm
打开template/default/tag/tag.htm,查找
misc.php?mod=tag&id=$tag[tagid]"
修正:
tag/$tag[tagid].html
修正robots.txt
注释掉或直接删除:Disallow: /?mod=misc,Disallow: /misc.php
# Disallow: /?mod=misc# robots.txt for Discuz! X3#User-agent: # Disallow: /?mod=misc# Disallow: /misc.php
附: tag标签页伪静态SEO http://addon.discuz.com/?@exx_tagrewrite.plugin这是官网插件,收费的,可以看看价格