We do medical, the general use of the CMS in fact, back and forth on that a few, we are here with the dream or a large part of the, below to tell us how to change the RSS, sitemap generation Path, Because generally we will block the spider in the robot to crawl our Dede background (changes according to their needs) directory, but the system set up RSS, Sitemap is generated in this directory, so ... Start Speaking:
Modify the dede/makehtml_map.php in the Admin folder to search for RSS in the file
Locate line 17th and line 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 files,
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 files,
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 ";
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.