• SEO文章推广! 合作联系qq:122325244 正式全面改版 !免费SEO地址:https://www.seozhan.cn/tool 站长QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏SEO站长博客吧

织梦DeDeCMS默认模板中所有版权信息的去除修改-SEO_成都SEO_网站优化_网络推广

网站优化 SEO站长博客 10个月前 (02-12) 341次浏览 已收录 12个评论

织梦DEDECMS 网站管理系统可以说在国内使用最为频繁的了,大部分企业站都是用 DEDE 的内核,但一直困扰着有大部分站长的是版权信息的修改,织梦版权信息在很多页面都出现了,现在上科互联工作室在此总结修改所有织梦dede版权信息的修改.

1.前台网页底部会出现织梦版权信息 “powered by dedecms”的去除,在这里介绍两种方法.

方法一:在 include/dedesql.class.php 文件中找到第 588 行:

  1. $arrs1

    =

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

  2. $arrs2

    =

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

  3. 0x77,0x77,0x77,0x2e,0x73,0x68,0x61,0x6e,0x67,0x6b,0x65,0x6a,0x7a,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72,

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

  5. 0x62,0x79,0x20,0x53,0x75,0x6E,0x67,0x68,0x6F,0x73,0x74,0x3c,0x2f,0x61,0x3e);

  6. //改成:

  7. $arrs1

    =

    array();

  8. $arrs2

    =

    array();

光修改这个还不能全部清洁底部信息,所以我们还再到模板中去修改一下,找到网页底部模板 footer.htm,找到第 11 行代码,请将以下代码注释起来:

Powered by DedeCMS_{dede:global.cfg_version/} © 2004-2011 DesDev Inc.

当然我们可以删除以下代码 Powered by DedeCMS_{dede:global.cfg_version/} © 2004-2011 DesDev Inc.
或者替换成自己需要的链接。

方法二:进入后台在后台的系统-系统参数有个网站版权信息,在这里并不能找到官方的链接,由此可看,这是被官方进行了加密处理了,想要去掉这个链接就需要不调用 {dede:global.cfg_powerby/}这个标签,而使用其他变量代替,思路就是新建一个变量作为我们的网站版权信息来调用,好了下面就看看如何做:新建一个变量,进入系统——系统基本参数—— 添加新变量如下图:

织梦 DeDeCMS 默认模板中所有版权信息的去除修改-SEO_ 山东 SEO_ 网站优化 _ 网络推广 seo 实战技术 第 1 张

在弹出的添加变量名的窗口写下如下图的内容,点击”保存变量“即可。

织梦 DeDeCMS 默认模板中所有版权信息的去除修改-SEO_ 山东 SEO_ 网站优化 _ 网络推广 seo 实战技术 第 2 张

下面我们就可以看见”系统配置参数“最下面的列表上已经有了刚才我们所添加的内容,如图:

织梦 DeDeCMS 默认模板中所有版权信息的去除修改-SEO_ 山东 SEO_ 网站优化 _ 网络推广 seo 实战技术 第 3 张

现在我们的网站底部版权dede 代码就可以更改成了{dede:global.cfg_powerbyzidingyi/}

默认的dedecms版权调用代码是{dede:global.cfg_powerby/}现在更换成{dede:global.cfg_powerbyzidingyi/}以后就显示的是新添加的变量值了。

另外大家需要注意的是,变量名称不能以数字开头,其实大家也可以用这个方法添加其他的变量名,用于网站的其他功能,对于 dede 新手朋友来说会了添加变量的方法,在制作 dede 网站模板的时候会非常的方便.

2.搜索页面:

  1. /templets/default/search.htm

     

  2. /templets/plus/heightsearch.htm

     

  3. /templets/default/advancedsearch.htm

3.通用底部模板:

/templets/default/footer.htm

4.购物车:

  1. /templets/plus/car.htm

  2. /templets/plus/carbuyaction.htm

  3. /templets/plus/shops_action_payment.htm

  4. /templets/plus/shops_buyaction.htm

5.下载地址列表:/templets/plus/download_links_templet.htm

6.挑错页面:/templets/plus/erraddsave.htm

7.友情链接

/templets/plus/flink-add.htm

/templets/plus/flink-list.htm

8.列表模板:/templets/plus/list_diyform.htm

9.留言板

  1. /templets/plus/plus_foot.htm

     

  2. /templets/plus/guestbook-admin.htm

     

  3. /templets/plus/guestbook-user.htm

  4. //开源软件:phpfensi.com

10.发布模板:/templets/plus/post_diyform.htm

11.RSS 订阅地图:/templets/plus/rssmap.htm

12 银行账号信息:/templets/plus/shops_bank.htm

13.图集详细页面:/templets/plus/showphoto.htm

14.网站地图:/templets/plus/sitemap.htm

15.详细内容:/templets/plus/view_diyform.htm

16.提示信息

/templets/plus/view_msg.htm

/templets/plus/view_msg_catalog.htm

17.投票结果:/templets/plus/vote.htm

18.PHP 文件中的,重要的提示信息…

/include/common.func.php,一共有两处,分别替换.

19.推荐:/templets/plus/recommend.htm

如果大家还有什么不懂的,可以在评论里面和我们交流,注,为了支持开源网站源码的推出,建议站长朋友们在首页主动留下一个织梦官网的链接.


SEO站长博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:织梦DeDeCMS默认模板中所有版权信息的去除修改-SEO_成都SEO_网站优化_网络推广
喜欢 (1)
[h4ck3st@126.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(12)个小伙伴在吐槽
  1. lois griffin nude https://betawerk.co/
    beeg..com2019-12-13 16:55 (3天前)回复 Windows 10 | Chrome 68.0.3423.2
  2. film porno cu vorbe grase https://filmexxx.pro/
    filme xxx2019-12-13 15:45 (3天前)回复 Windows 7 | Chrome 53.0.2785.104
  3. I wanted to write you that very small note just to give thanks over again with the pretty things you've documented at this time. It is quite extremely open-handed with people like you giving openly what exactly numerous people might have sold for an e-book to get some dough for their own end, chiefly since you could have done it if you desired. The good tips in addition acted like a great way to realize that many people have similar dreams similar to my very own to realize a little more with regards to this condition. Certainly there are several more fun situations ahead for folks who read through your site.
    my assignment reviews2019-11-17 07:28 回复 Windows 7 | Chrome 47.0.2526.80
  4. Every weekend i used to go to see this website, as i wish for enjoyment, for the reason that this this site conations truly good funny data too.
    sua nghe gold2019-10-23 05:42 回复 Windows 10 | Chrome 63.0.3239.26
  5. What's up to all, it's in fact a good for me to pay a quick visit this web page, it contains important Information.
    Coin news2019-10-17 10:24 回复 Windows 10 | Chrome 53.0.2785.104
  6. Very good article post. Much thanks again. Fantastic.
    the importance of training2019-10-08 21:23 回复 Windows 10 | Chrome 62.0.3202.94
  7. Hi! I know this is kinda off topic but I'd figured I'd ask. Would you be interested in trading links or maybe guest authoring a blog post or vice-versa? My blog discusses a lot of the same subjects as yours and I think we could greatly benefit from each other. If you might be interested feel free to shoot me an email. I look forward to hearing from you! Superb blog by the way!
    przedtreningówki2019-09-30 23:20 回复 Windows 10 | Firefox浏览器 52.9
  8. Bets so you can acquire a blind by raising a choice will definitely improve your chips. Yet the draw back is the fact once the tables are complete now you're found waiting around to receive a location and sitting down in the on line casino or you'll not normally have the capability to come across a sport heading. This card sport is done by way of the usage of dominos. https://bandarqonline.pw
    Kellye2019-09-24 00:02 回复 Windows 10 | Chrome 63.0.3239.26
  9. Bets so you can acquire a blind by raising a choice will definitely improve your chips. Yet the draw back is the fact once the tables are complete now you're found waiting around to receive a location and sitting down in the on line casino or you'll not normally have the capability to come across a sport heading. This card sport is done by way of the usage of dominos. https://bandarqonline.pw
    Kellye2019-09-24 00:01 回复 Windows 10 | Chrome 63.0.3239.26
  10. You have made some decent points there. I checked on the internet to find out more about the issue and found most people will go along wiuth your views on this website.
    Onikişubat Escort2019-08-25 14:55 回复 Mac OS X | Chrome 59.0.3071.109
  11. why?
    笨鸟先飞2019-03-24 08:36 回复 Windows 7 | Chrome 63.0.3239.132