CMS Tutorial
DEDECMS
What should I do if the frequency of keywords in the Dreamweaver document cannot be modified?What should I do if the frequency of keywords in the Dreamweaver document cannot be modified?

What should I do if the frequency of keywords in the Dreamweaver document cannot be modified?
Open dede/article_keywords_main.php and find the following code:
//更新链接网址
if($rpurl!=$rpurlold)
{
$query1 = "UPDATE `cn_keywords` SET rpurl='$rpurl' WHERE aid='$aid' ";
$dsql->ExecuteNoneQuery($query1);
}Change to:
//更新链接网址、频率
$rank = ${'rank_'.$aid};
if($rpurl!=$rpurlold)
{
$query1 = "UPDATE `cn_keywords` SET rpurl='$rpurl',rank='$rank' WHERE aid='$aid' ";
$dsql->ExecuteNoneQuery($query1);
}
else
{
$query1 = "UPDATE `cn_keywords` SET rank='$rank' WHERE aid='$aid' ";
$dsql->ExecuteNoneQuery($query1);
}After saving, you can modify the frequency in the background.
Recommended study: 梦Weavercms
The above is the detailed content of What should I do if the frequency of keywords in the Dreamweaver document cannot be modified?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version
Chinese version, very easy to use

Atom editor mac version download
The most popular open source editor




