彻底去除Discuz!的版本信息

admin 2014年12月29日01:19:42系统文档评论1,665 次浏览阅读模式

为了安全考虑,论坛最好要把版本信息去掉,有下面几处:

1.robots.txt 中,把

#

# robots.txt for Discuz! Board

# Version 7.0.0

#

改成

#

# robots.txt for Discuz! Board

# Version ?

#

2.在/templates/default中的footer.htm把

<p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>$version</em>

改成

<p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong>

3.还有一处容易漏掉的,在archive里面,修改index.php,把

<div style="text-algin: center; font-size: 11px">Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz! Archiver</a></strong>{版本信息}nbsp;

改成

<div style="text-algin: center; font-size: 11px">Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz! Archiver</a></strong>nbsp;

这样就基本完成了对具体版本信息的修改,版权信息不建议去掉,毕竟人家是免费给你用的,留个版权算是一种尊重。

 

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2014年12月29日01:19:42
  • 转载请务必保留本文链接:https://anyun.org/a/jishuguanzhu/xitongwendang/2014/1229/4227.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: