您的位置:老铁SEO > 站长新闻 > 网站技术 >

伪原创软件64 dedecms解决栏目链接里的index.html

文章来源:http://www.6cu.com

作者:伪原创生成软件

人气:20

2021-05-13 10:11:12

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

执行如下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)'/}
相关文章

在线客服

外链咨询

扫码加我微信

微信:juxia_com

返回顶部