帝国CMS7.5 自动生成sitemap

在后台 栏目管理-自定义页面-增加自定义页面
输入:
页面名称():网站地图
文件名(
):…/…/sitemap.xml
页面内容(*):

'?>
   
    
        http://www.xds.work
        daily
        1.0
    
    
        http://www.xds.work/xuandiaozixun/
        daily
        0.8
    
    
        http://www.xds.work/xuandiaozixun/xuandiaowangping/
        daily
        0.8
    
    
        http://www.xds.work/xuandiaogongzuo/
        daily
        0.8
    
    
        http://www.xds.work/xuandiaoyouwei/
        daily
        0.8
    
    
        http://www.xds.work/jingcaizhuanti/
        daily
        0.8
    
    
        http://www.xds.work/dongbuxuandiao/
        daily
        0.8
    
    
        http://www.xds.work/zhongbuxuandiao/
        daily
        0.8
            
    
        http://www.xds.work/xibuxuandiao/
        daily
        0.8
    
    
    [e:loop={1,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]

[e:loop={2,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]

[e:loop={3,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]

[e:loop={4,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={5,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={6,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={7,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={8,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={9,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={10,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={11,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={12,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={13,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={14,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={15,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={16,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={17,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={18,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={19,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={20,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={21,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={22,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={23,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={24,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={25,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={26,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={27,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={28,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={29,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={30,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={31,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]
[e:loop={32,30000,3,1,'','newstime DESC'}]
    
        
        
        monthly
        0.7
    
    [/e:loop]



请把网址www.xds.work改为自己的
前面几个是栏目调用,自行更改栏目绝对地址
下面的如果网站没有用绝对地址,前面应该加上网址,为:

http://www.xds.work

请根据实际自行修改。
然后在管理自定义页面点刷新,sitemap的文件地址为:

http://www.xds.work/sitemap.xml

然后设置自动生成
系统-计划任务-管理刷新任务
增加刷新任务
任务类型:刷新自定义页面
任务名:刷新网站地图
执行时间间隔:建议设置为3600
选择页面:网站地图

最后是真正的自动生成,请安装插件:
https://blog.csdn.net/bobbsh/article/details/104205868

OK!

你可能感兴趣的:(CMS插件)