当前位置: 首页 > SEO学院SEO知识

Dececms实现列名首字母以进行列链接方法

来源:未知 浏览量:140次

Dedecms实现列页面以使用列名的第一个字母来执行列链接方法

Dedecms Dreamweaver程序使用拼音作为保存目录的默认设置。当列名称很长时目录名称看起来有点冗长。目前大多数网站管理员更喜欢使用拼音首字母作为列。目录丰城网站优化大多数网站管理员更喜欢使用拼音首字母作为列。目录然后您需要修改dede/catalog.add.php文件

Dececms实现列名首字母以进行列链接方法

修改为$ toptypedir=GetPinyin(stripslashes($ toptypename)连云港网站优化然后您需要修改dede/catalog.add.php文件

第85行$ toptypedir=GetPinyin(stripslashes($ toptypename));

Dececms实现列名首字母以进行列链接方法

第108行$ typedir=$ toptypedir。'/'。GetPinyin(stripslashes($ v));

修改为$ typedir=$ toptypedir。'/'。GetPinyin(stripslashes($ v)连云港网站优化1);

第108行$ typedir=$ toptypedir。'/'。GetPinyin(stripslashes($ v));

修改为$ typedir=$ toptypedir。'/'。GetPinyin(stripslashes($ v)1);

第134行$ toptypedir=GetPinyin(stripslashes($ toptypename));

修改为$ toptypedir=GetPinyin(stripslashes($ toptypename)1);

第187行$ typedir=GetPinyin(stripslashes($ typename));

修改为$ typedir=GetPinyin(stripslashes($ typename)1);

展开全部内容