去掉织梦cms底部的Powered by DedeCms

maolai 网站建设去掉织梦cms底部的Powered by DedeCms已关闭评论334阅读模式

在用dedecms建站时,打开首页,在网站的底部(如下图1)会看到一个Power by DedeCms超链接的版权信息,这是dedecms系统默认指向织梦cms官方网站的链接。这个链接是模板footer.htm里调用标签{dede:global.cfg_powerby/}加上的(如下图2)。可以把{dede:global.cfg_powerby/}删除即可。当然也可以通过网站根目录下修改include/dedesql.class.php的文件。通过ftp传送dedesql.class.php到本地打开,找到如下代码注释掉或直接删除都可以。

$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79);

$arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,

0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72,

0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20,

0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e);

去掉织梦cms底部的Powered by DedeCms-图片1

去掉织梦cms底部的Powered by DedeCms-图片2

去掉织梦cms底部的Powered by DedeCms-图片3

如果你觉得实在影响美观或者怕导出权重,可以在底部信息留个powered by dedecms 不带超链接。

 
maolai
  • 本文由 maolai 发表于 2016年2月6日 19:43:27
  • 转载请务必保留本文链接:http://www.bokequ.com/272.html