Dedecms 生成RSS地图地址出错修改方法

前端之家收集整理的这篇文章主要介绍了Dedecms 生成RSS地图地址出错修改方法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

  DEDE织梦CMS生成RSS地图全都多了一个网址,打开生成的data/RSS/*.xml发现链接都加变成了如下的格式:

http://www.veryhuo.com/ http://www.veryhuo.com/data/RSS/16.xml
http://www.veryhuo.com/ http://www.veryhuo.com/data/RSS/15.xml
http://www.veryhuo.com/ http://www.veryhuo.com/data/RSS/14.xml
http://www.veryhuo.com/ http://www.veryhuo.com/data/RSS/59.xml
http://www.veryhuo.com/ http://www.veryhuo.com/data/RSS/49.xml

  这种情况下,就是域名被重复生成了一次,导至RSS地址出错。其实对于这个BUG,处理方法很简单,如下:

  将PLUS目录下RSS.HTM 文件源码中fullurl改为arcurl即可解决问题原来的

  RSS.HTM 的地址代码是:<link>[field:fullurl/]</link>

  我们只需要改成:<link>[field:arcurl/]</link>

  就可以了。

猜你在找的Dedecms相关文章