主页 > 教程合集 > DedeCMS >

DedeCMS去掉powered by dedecms网站版权信息的方法

时间:2020-10-21 阅读:0

织梦dedecms调用网站版权信息是会出现powered by dedecms链接到www.dedecms.com这个网址,站在优化角度上来说,这种单向链出链接对我们来说多少有些不利,这里也是用织梦建站我们手动修改的一个地方,下面说说教程:

DedeCMS去掉powered by dedecms网站版权信息的方法

去掉powered by dedecms网站版权信息教程:

找到include/dedesql.class.php文件,用Notepad++或者DW(Dreamweaver)打开文件。

Ctrl+f查找$arrs1 = array应该588行左右,将下面内容注释掉或者删掉即可:


$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);
 

注释用法:


//$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);
 

然后覆盖原来文件即可,这样dedecms程序建站调用网站版权信息的时候就不会出现powered by dedecms和链接了。

升级为终身VIP,即可免费下载全站所有千余TB网络资源,点击 >>> 资源目录 查看所有资源,覆盖音乐、影视、有声书、电子书、漫画、动漫、课程等,不限时间次数,永久免费,点击 >>> VIP特权 了解更多!

余斗余斗
  • 版权声明:原创文章由发表在DedeCMS分类下,2020-10-21最后更新,转载注明出处。

相关推荐

返回顶部