洞悉互聯(lián)網(wǎng)前沿資訊,探尋網(wǎng)站營銷規(guī)律
作者:狐靈科技 | 2020-10-23 10:26 |點擊:
解除織夢dedecms欄目和文章關(guān)鍵詞、描述字?jǐn)?shù)限制
1、改數(shù)據(jù)庫里相關(guān)字段
2、DEDE后臺,系統(tǒng)工具---SQL命令行工具---運行SQL命令行
alter table #@__arctype change column description description text;
alter table #@__arctype change column keywords keywords text;
這樣幾個解決欄目的關(guān)鍵詞和描述字?jǐn)?shù)的限制,你要多少字?jǐn)?shù)就多少
3、改變文章內(nèi)容的關(guān)鍵詞和描述字?jǐn)?shù):
DEDE后臺,系統(tǒng)工具---SQL命令行工具---運行SQL命令行:
alter table #@__archives change column description description text;
alter table #@__archives change column keywords keywords text;
接下來修改dede(你的后臺文件夾民名字) 文件下的 article_add.php 和 article_edit.php
搜索 $description = cn_substrR($description,300); ——后面數(shù)字的就是你想要字符數(shù)。
搜索 $keywords = cn_substrR($description,255); ——后面數(shù)字的就是你想要字符數(shù)。
以上內(nèi)容是針對修改文章的 如果修改圖集 那么修改這兩個文件 album_add.php 和 album_edit.php ,修改方法是搜索 $keywords = cn_substrR($keywords,60); 修改方法和上面同理的 |