帝国CMS7.0去除面包屑newsnav首页链接中的index.html
你的位置 点击首页总是会有xxx.com/index.html 这个不仅分散了权重,还看着不爽。
通过以下方法可以去掉:
打开文件e/class/connect.php
搜索:
function ReturnSiteIndexUrl()
将:
$file=$public_r['newsurl'].'index'.$public_r['indextype'];
改为:
$file=$public_r['newsurl'];
刷新页面即可