Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of deleting the dream chain of dedecms 5.7

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to delete the dedecms 5.7 dream chain, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

How to delete dedecms 5.7Dream chain?

I found that dedecms 5.7is the official advertising version of 5.6. it added a junk dream chain to secretly add the black chain, which made my site's collection drop sharply, and I was puzzled. Later, I remembered that it was because I had changed a theme in the middle and returned to the official theme. I originally thought that the official theme would be better because of seo optimization, because the previous theme was done by myself, and I didn't pay much attention to seo at that time. The whole article is div and css, no one, tag, today checked the link, found inexplicable what L-carnitine, their own inspection, found that the original dede official implanted black chain that, these two days have to consider how to transfer the data to phpcms v9, change the whole station, . However, before the change, get rid of these annoying dream chains, although it is for the survival of dede to join, but it affects the collection, which also shows the hardship of programmers, as a well-known cms management tool, to move these small thoughts.

There are two ways to remove it. Let's see that one is convenient. As follows:

1. Modify the php file

Look for the include/taglib/flinktype.lib.php file in the root directory and find the following code:

The code is as follows:

$dedecms = false; $dedecms- > id = 999; $dedecms- > typename = 'dream chain'; if ($type = = 'dedecms') $row [] = $dedecms

Delete the above text, or change any name of dedecms in $type = = 'dedecms', for example, to your URL.

two。 Modify template

Directly open the index.htm in the templetsdefault in the root directory, that is, the template on the home page, find {dede:flinktype type= "dedecms"}, delete it, or change the name of that dedecms randomly, hehe. There are two places, one less will appear dream chain.

The above is all the contents of the method of deleting the dream chain of dedecms 5.7. thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report