typename = 'Dreamweaver Chain';" code in it: Can."/> typename = 'Dreamweaver Chain';" code in it: Can.">
search
HomeCMS TutorialDEDECMSHow to delete dedecms 5.7 dream chain

How to delete dedecms 5.7 dream chain

How to delete dedecms 5.7 Dream Weaver Chain?

I just discovered that dedecms 5.7 is the official advertising version of 5.6. It added a junk Dreamweaver link thing to secretly add a black link, causing my site’s inclusion to drop significantly. I’m puzzled. , then I remembered that it was because I changed a theme in the middle and switched back to the official theme. I originally thought that the official theme would be better included due to good SEO optimization, because the previous theme was made by myself, and I didn’t pay much attention to SEO at that time. , the whole article is full of divs and css, without any

,

Recommended study: 梦Weavercms

There are two ways to remove it. Which one is more 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 = ‘织梦链’; 
if($type == ‘dedecms’) $row[] = $dedecms;

Just delete the above text, or change the dedecms in $type == 'dedecms' to a random name, for example, change it to your URL

2. Modify the template

directly Open index.htm in templatesdefault in the root directory, which is the template of the homepage, find {dede:flinktype type="dedecms"}, delete it, or change the dedecms to a random name, haha. There are two places. If you change any of them, the dream chain will appear.

The above is the detailed content of How to delete dedecms 5.7 dream chain. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.