Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drupal logs indicate that XML Sitemap is submitting the site to search engines each time cron is run (hourly), even though submission frequency is set to "never" and the "update when new content is added" checkbox is checked. Could it be the aggregator pages' updates that are triggering this? If so, they need to be excludable. IF not, it's a bug.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI can confirm the frequency issue. Will be checking the code today.
EDIT: I had the "update when new content is added" checkbox checked. This functions "by design".
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThis is intended to be an override to the frequency declaration. So if you have it checked and the aggregator modifies the content, the next cron.php execution will submit the data. This is "by design". I'm modifying the issue attributes to indicate a feature change since I don't like the way it works.
Move "update when new content is added" checkbox into the frequency selection list.
Comment #3
sterndata CreditAttribution: sterndata commentedI've changed the update frequency to Daily. Meantime, it might be nice :-) to have an exclude dialogue, similar to that used by FCKEditor, to exclude URLs of a given pattern from the sitemap.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #6
Dave ReidI changed the logic of sitemap submission to always respect the 'Submit the sitemap when content changes' option if enabled. This basically matches the logic of the 6.x-2.x branch as well now.
http://drupal.org/cvs?commit=320184