彻底去除Discuz!的版本信息

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

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

 

本文标题:彻底去除Discuz!的版本信息
本文链接:https://www.nigesb.com/delete-the-copyright-of-discuz.html
订阅本站:http://www.nigesb.com/feed
转载请注明来源,如果喜欢本站可以Feed订阅本站。

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>