在织梦dedecms的程序中,其实也有一些重复的页面,想要优化URL,这样的情况是不可能存在的,就比如你列表页的***页,www.localhost.com/xinwenzhongxin/index.html,但是生成之后也会出现www.localhost.com/xinwenzhongxin/list_1_1.html,所以这样就会对优化存在很大的问题。修改的方法:
1、找到\include\arc.listview.class.php这个文件,将
$typedir= ereg_replace('{cmspath}',$GLOBALS['cfg_cmspath'],$this->Fields['typedir']);这段代码添加到”//获得上一...