关键字描述:链接 栏目 解决 &quot defaultname index.html&quot 生成

建议大批量生成内容页的时候先使用此方法/

执行如下SQL语句

update `数据库名`.`dede_arctype` set `defaultname`=replace(`defaultname`,"index.html","") ;

生成完内容页以后再执行

update `数据库名`.`dede_arctype` set `defaultname`=replace(`defaultname`,"","index.html") ;

替换回来 否则会无法生成栏目首页

==========================================================================

不熟悉DEDE系统的 最好还是在标签的后面加上 function=’str_replace("index.html","",@me)’

如调用当前位置的
{dede:field name=’position’ /}
就改为
{dede:field name=’position’ function=’str_replace("index.html","",@me)’/}

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。