打开/include/dedecollection.class.php文件
找到
//自动分析关键字和摘要  
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];  
}
改成
//自动分析关键字和摘要  
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];  
}
再找到
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];  
}
改成
preg_match("/<meta[/s]+name=['/"]description['/"] content=['/"](.*)['/"]/isU",$this->tmpHtml,$inarr);  
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];  
}