Weave Dream Background Change rss, sitemap generation Path

Source: Internet
Author: User
We do medical, general use of the CMS actually back and forth on that several, we are here with a dream or a large part of the, below to tell you how to change the RSS, sitemap generation Path, Because generally we in the robots will block spiders crawling our dede backstage (according to their needs to change) directory, but the system set of RSS, Sitemap is generated in this directory, so ..... Start Speaking:

Modify dede/makehtml_map.php in the Background Management folder to search for RSS in Files
Find lines 17th and 22, delete/data
17 Lines $murl = $cfg _cmspath. " /sitemap.html ";
22 lines $murl = $cfg _cmspath. " /rssmap.html ";


Modify include/arc.rssview.class.php, search for RSS in the file,
Find line 71st, delete/data
Change to the following content
71 lines $murl = $GLOBALS [' Cfg_cmspath ']. " /rss/". $this->typeid." XML ";


Modify include/sitemap.class.php, search for RSS in the file,
Find 57 rows and 94 rows, delete/data
57 Lines $typelink = $GLOBALS [' Cfg_cmsurl ']. " /rss/". $row->id." XML ";
94 lines $typelink = $GLOBALS [' Cfg_cmsurl ']. " /rss/". $row->id." XML ";

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.