webadvanced / Orchard-SiteMap

SiteMap module for Orchard CMS
14 stars 21 forks source link

sitemap.xml is not updated #7

Open andreas22 opened 11 years ago

andreas22 commented 11 years ago

Hi, I have removed all links from Active Routes in Sitemap->Display, and in /sitemap correctly I cannot see any links but in sitemap.xml the links are not changed. Also in Sitemap->Indexing->Content Type Settings only Page has Index for display checked. I am using Advanced Sitemap - Version: 1.3.2. Can you please advice what might be the issue?

Thanks in advance.

CPyle commented 11 years ago

Changing the routes that are displayed in the Sitemap -> Display settings page only changes the layout of your '/sitemap' page. It doesn't change what is included in your sitemap.xml file. In the Content Type settings, there are separate checkboxes for indexing for the display page and indexing for the xml. Usually, you want to include more content in your sitemap.xml than you would display on a sitemap page, so I gave the option of controlling them separately. The sitemap.xml might contains thousands of articles over time, so there isn't the same kind of individual route management for it.

Also, in version 1.3.2 the sitemap.xml file is cached daily, so you won't see changes in settings or content for a while (search engines typically won't hit your site more than once a day anyway). I changed this in the newest version, but it may not be compatible with your version of Orchard.

On Tue, Nov 6, 2012 at 2:02 AM, Andreas Christodoulou < notifications@github.com> wrote:

Hi, I have removed all links from Active Routes in Sitemap->Display, and in /sitemap correctly I cannot see any links but in sitemap.xml the links are not changed. Also in Sitemap->Indexing->Content Type Settings only Page has Index for display checked. I am using Advanced Sitemap - Version: 1.3.2. Can you please advice what might be the issue?

Thanks in advance.

— Reply to this email directly or view it on GitHubhttps://github.com/webadvanced/Orchard-SiteMap/issues/7.