您好,朋友!跟版网团队很高兴能为您解答:
首先去掉dedecms自带的广告,比较便捷的解决办法是将织梦后台的广告管理中的广告全部删除即可。当然如果想要比较干净的清除的话,还需要将模板中的广告调用代码删除。
怎么去除织梦底部的 powered by dedecms版权信息:
在include/dedesql.classs.php文件中找到第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()
$arrs2 = array()
保存文件并上传即可。
希望我的回答能够帮到您!
1、在dede后台的广告栏找到对应的广告,把里面广告代码删除或者更换自己的AD代。2、实行隐藏,在页面源码里找到对应的广告代码, 织梦CMS标签调用代码:{dede:myad name='250x250_index'/} DEDE广告一般用这样的标签调用的,然后把此代码改成<!--{dede:myad name='250x250_index'/}--> , 这样页面AD就不显示了。
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)