久久机这里只有精品,国产69精品一区二区亚洲孕妇,91精品国产综合久久婷婷香蕉,午夜久久久久久电影

最新活動(dòng):電腦PC端+手機(jī)端+微網(wǎng)站+自適應(yīng)網(wǎng)頁(yè)多模板選擇-建站388元起價(jià)!!!
當(dāng)前位置:主頁(yè) > 網(wǎng)站建設(shè) > 織夢(mèng)DEDECMS采集沒(méi)有自動(dòng)生成摘要和關(guān)鍵字的解決

織夢(mèng)DEDECMS采集沒(méi)有自動(dòng)生成摘要和關(guān)鍵字的解決

時(shí)間:2023-05-26 14:05:26 閱讀: 文章分類: 網(wǎng)站建設(shè) 作者: 建站小能手

導(dǎo)讀:建站問(wèn)題建站問(wèn)題織夢(mèng) 5.6采集到了內(nèi)容,可沒(méi)有自動(dòng)生成摘要和關(guān)鍵字,關(guān)鍵字和摘要都是空的。 可能很多人都遇到了和我一樣的問(wèn)題,在論壇實(shí)在沒(méi)找到好的解決辦法,就自己動(dòng)手去改改文網(wǎng)站建設(shè)多少錢企業(yè)網(wǎng)站建設(shè)。

網(wǎng)站建設(shè)多少錢企業(yè)網(wǎng)站建設(shè)織夢(mèng) 5.6采集到了內(nèi)容,可沒(méi)有自動(dòng)生成摘要和關(guān)鍵字,關(guān)鍵字和摘要都是空的。 可能很多人都遇到了和我一樣的問(wèn)題,在論壇實(shí)在沒(méi)找到好的解決辦法,就自己動(dòng)手去改改文件。廢話不多說(shuō)了。 下面是我的解決辦法: 1、修改 include/dedecollection.class.php //自 […]

織夢(mèng)5.6采集到了內(nèi)容,可沒(méi)有自動(dòng)生成摘要和關(guān)鍵字,關(guān)鍵字和摘要都是空的。 可能很多人都遇到了和我一樣的問(wèn)題,在論壇實(shí)在沒(méi)找到好的解決辦法,就自己動(dòng)手去改改文件。廢話不多說(shuō)了。 下面是我的解決辦法:

1、修改 include/dedecollection.class.php

//自動(dòng)分析關(guān)鍵字和摘要   preg_match("/<meta[\s]+name=['\"]keywords['\"] content=['\"](.*)['\"]/isU",$this->tmpHtml,$inarr);   preg_match("/<meta[\s]+content=['\"](.*)['\"] name=['\"]keywords['\"]/isU",$this->tmpHtml,$inarr2);   if(!isset($inarr[1]) && isset($inarr2[1]))   {   $inarr[1] = $inarr2[1];   } 

用下面一段代碼替換上面的

seo網(wǎng)站優(yōu)化軟件

//自動(dòng)分析關(guān)鍵字和摘要   preg_match("/<meta[\s]+name=['\"]keywords['\"] content=['\"](.*)['\"]/isU",$this->tmpHtml,$inarr);   preg_match("/<meta[\s]+content=['\"](.*)['\"] name=['\"]keywords['\"]/isU",$this->tmpHtml,$inarr2);   preg_match("/<meta[\s]+name=keywords content=['\"](.*)['\"]/isU",$this->tmpHtml,$inarr3);   if(!isset($inarr[1]) && isset($inarr2[1]))   {   $inarr[1] = $inarr2[1];   }   if(!isset($inarr[1]) && isset($inarr3[1]))   {   $inarr[1] = $inarr3[1];   } 

改了上面的, 還有另一個(gè)地方需要修改的

preg_match("/<meta[\s]+name=['\"]description['\"] content=['\"](.*)['\"]/isU",$this->tmpHtml,$inarr);   preg_match("/<meta[\s]+content=['\"](.*)['\"] name=['\"]description['\"]/isU",$this->tmpHtml,$inarr2);   if(!isset($inarr[1]) && isset($inarr2[1]))   {   $inarr[1] = $inarr2[1];   } 百度seo網(wǎng)站優(yōu)化

用下面的代碼替換掉上面的:

preg_match("/<meta[\s]+name=['\"]description['\"] content=['\"](.*)['\"]/isU",$this->tmpHtml,$inarr);網(wǎng)站建設(shè)哪家好   preg_match("/<meta[\s]+content=['\"](.*)['\"] name=['\"]description['\"]/isU",$this->tmpHtml,$inarr2);   preg_match("/<meta[\s]+name=description content=['\"](.*)['\"]/isU",$this->tmpHtml,$inarr3);   if(!isset($inarr[1]) && isset($inarr2[1]))   {   $inarr[1] = $inarr2[1];   }   if(!isset($inarr[1]) && isset($inarr3[1]))   {   $inarr[1] = $inarr3[1];   } 

關(guān)鍵詞標(biāo)簽: CMS 解決辦法 自動(dòng)生成

聲明: 本文由我的SEOUC技術(shù)文章主頁(yè)發(fā)布于:2023-05-26 ,文章織夢(mèng)DEDECMS采集沒(méi)有自動(dòng)生成摘要和關(guān)鍵字的解決主要講述解決辦法,自動(dòng)生成,CMS網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請(qǐng)保留鏈接: http://www.bifwcx.com/article/web_10214.html

我的IDC 網(wǎng)站建設(shè)技術(shù)SEOUC.COM
專注網(wǎng)站建設(shè),SEO優(yōu)化,小程序設(shè)計(jì)制作搭建開(kāi)發(fā)定制網(wǎng)站等,數(shù)千家網(wǎng)站定制開(kāi)發(fā)案例,網(wǎng)站推廣技術(shù)服務(wù)。
  • 5000+合作客服
  • 8年從業(yè)經(jīng)驗(yàn)
  • 150+覆蓋行業(yè)
  • 最新熱門源碼技術(shù)文章

    主站蜘蛛池模板: 辽阳县| 股票| 株洲市| 平乡县| 满城县| 荔浦县| 高阳县| 调兵山市| 荥阳市| 清河县| 陇川县| 青龙| 西和县| 桃源县| 同江市| 乌海市| 黔西县| 河曲县| 英超| 乐都县| 买车| 和田市| 南丹县| 泗水县| 灌南县| 永年县| 三门峡市| 武乡县| 称多县| 伊吾县| 乌海市| 古交市| 黑水县| 伊通| 宿迁市| 青河县| 台北市| 修水县| 唐山市| 当涂县| 廊坊市|