帝国cms自动生成向百度提交的urls.txt
自动生成百度urls.txt
1、调用首页地址
[!--news.url--]
2、循环栏目页地址
[e:loop={"select * from [!db.pre!]enewsclass order by myorder",0,24,0}]
[/e:loop]
3、循环文章正文地址(有几个模型就写上几个)
[e:loop={"select * from [!db.pre!]ecms_news order by id desc",0,24,0}]
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_photo order by id desc",0,24,0}]
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_article order by id desc",0,24,0}]
[/e:loop]
帝国cms(默认)系统模型 | |
---|---|
序号 | 模型名称 |
1 | 新闻系统数据表 ( phome_ecms_news ) |
2 | 下载系统数据表 ( phome_ecms_download ) |
3 | 图片系统数据表 ( phome_ecms_photo ) |
4 | FLASH系统数据表 ( phome_ecms_flash ) |
5 | 电影系统数据表 ( phome_ecms_movie ) |
6 | 商城系统数据表 ( phome_ecms_shop ) |
7 | 文章系统数据表 ( phome_ecms_article ) |
8 | 分类信息数据表 ( phome_ecms_info ) |
!!!注意:如果站点根地址设置的是“/”,则必须添加站点地址“https://www.lovezheteng.com”。
示例:展示
http://www.lovezheteng.com/
[e:loop={"select * from [!db.pre!]enewsclass order by myorder",0,24,0}]
https://www.lovezheteng.com
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_news order by id desc",0,24,0}]https://www.lovezheteng.com
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_photo order by id desc",0,24,0}]https://www.lovezheteng.com
[/e:loop]
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。