adohu

title的前面默認(rèn)seo標(biāo)題怎么刪

title前面默認(rèn)要加上分類名稱和/   請(qǐng)問(wèn)前面的分類名稱和/怎么刪除

#1樓
發(fā)帖時(shí)間:2015-10-15   |   查看數(shù):0   |   回復(fù)數(shù):5
teiddy
我也遇到過(guò)。
2015-10-16 #2樓
adohu
引用 teiddy:

我也遇到過(guò)。


怎么改
2015-10-16 #3樓
shrimp
求解
2015-10-19 #4樓
adohu
引用 shrimp:

求解


同求
2015-10-21 #5樓
teiddy
解決辦法:
改twcms\control\show_control.class.php
twcms\control\cate_control.class.php
// SEO 相關(guān)
$this->_cfg['titles'] = $_show['title'].(empty($_show['seo_title']) ? '' : '/'.$_show['seo_title']);
$this->_cfg['seo_keywords'] = empty($_show['seo_keywords']) ? $_show['title'] : $_show['seo_keywords'];
$this->_cfg['seo_description'] = empty($_show['seo_description']) ? $_show['intro']: $_show['seo_description'];


$this->_cfg['titles'] = $_show['title'].(empty($_show['seo_title']) ? '' : '/'.$_show['seo_title']);
改為
$this->_cfg['titles'] =$_show['seo_title']);
2015-12-12 #6樓
游客組