1 登录织梦后台,找到文件管理器,打开文件管理器,在根目录下新建rss文件夹,在更新rss文件时会用到
2 修改根目录下管理员文件夹(默认是dede)下的makehtml_map.php文件
中的$cfg_cmspath."/data/sitemap.html";
和$cfg_cmspath."/data/rssmap.html";
去掉data/
3
修改根目录下include下面的arc.rssview.class.php和sitemap.class.php
在arc.rssview.class.php
中找到$murl = $GLOBALS['cfg_cmspath']."/data/rss/".$this->TypeID.".xml";
去掉data/
4
在sitemap.class.php
中找到$typelink = $GLOBALS['cfg_cmsurl']."/data/rss/".$row->id.".xml";
和$typelink = $GLOBALS['cfg_cmsurl']."/data/rss/".$row->id.".xml";
去掉data/
5
回到生成界面,点击生成。在更新RSS文件时,若不更进行更新,提示出错 DedeTag Engine Create File False,则有可能是跟目录下未建立rss文件夹,新建rss文件夹即可解决。
记得根目录下新建rss文件夹
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有