打开dede/article_keywords_main.php,找到如下代码: //更新链接网址 if($rpurl!=$rpurlold) { $query1 = UPDATE `cn_keywords` SET rpurl=$rpurl WHERE aid=$aid ; $dsql-ExecuteNoneQuery($query1); } 修改为: //更新链接网址、
打开dede/article_keywords_main.php,找到如下代码:
修改为://更新链接网址
if($rpurl!=$rpurlold) { $query1 = "UPDATE `cn_keywords` SET rpurl='$rpurl' WHERE aid='$aid' "; $dsql->ExecuteNoneQuery($query1); }
保存后就可以在后台修改频率了//更新链接网址、频率
$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); }