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.
I unset the some page for sitemap to "Not in sitemap" but it does not exclude from the sitemap. The link for that page still visible in the sitemap,even I have ran cron, delete cache files from sitemap tools setting tab, remove cache from Performance but didn't get desired result. Please help me out.
Thanks
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedYou must allow cron to execute more than once. You have a 240 second (4 minute) cycle for all hook_cron implementations to execute. During that 240 seconds cron may not have actually executed the hook_cron for xmlsitemap. There is a control module named Elysia Cron that you can use to set which module gets executed when with syntax similar to the crontab entry. Allow xmlsitemap to have more cron cycles.
As a side note, executing cron more than every 5 minutes is not a wise idea because of the 240 second cycle. If cron.php is executed while another process is running it will just exit after leaving you a log entry.
You should also move to the 6.x-2.x series. The 6.x-1.x series is no longer developed.
Comment #2
manishway CreditAttribution: manishway commentedThanks for prompt reply. I am testing it with Elysia Cron module and set Schedule rule for xmlsitemap_engines_cron,xmlsitemap_node_cron and xmlsitemap_user_cron run every 15min and also run cron forcibly for xmlsitemap but it doesn't work also !