
Configure XenForo 2.3 Sitemap Rebuild Frequency via Cron
Introduction
This tutorial explains how to change the default sitemap rebuild interval in
XenForo 2.3, which is triggered every 3 days by a built-in
cron task. To rebuild the sitemap daily, you must disable the default cron task and create a custom one with the desired frequency.
Prerequisites
• Advanced knowledge of
XenForo
• Access to the XenForo
Admin Control Panel
•
Administrator privileges required
Procedure
•
Step #1 : Disable the default sitemap rebuild cron task
•
Step #2 : Create a custom cron task for sitemap rebuild
•
Step #3 : Set the task to run daily
•
Step #4 : Save and activate the new cron task
•
Step #5 : Verify proper execution of the new cron task
Difficulty Level
•
Step #1 : Easy
•
Step #2 : Intermediate
•
Step #3 : Intermediate
•
Step #4 : Easy
•
Step #5 : Easy
Advantages
•
Step #1 : Prevents conflicts with default cron behavior
•
Step #2 : Enables full customization of execution frequency
•
Step #3 : Ensures daily sitemap updates for better indexing
•
Step #4 : Easy activation of the new task
•
Step #5 : Immediate confirmation of success
Disadvantages
•
Step #1 : Risk of disabling unrelated cron tasks by mistake
•
Step #2 : Requires knowledge of XenForo cron system
•
Step #3 : Poor configuration may lead to excessive or rare rebuilds
•
Step #4 : Improper activation may prevent execution
•
Step #5 : Requires monitoring to ensure functionality
Step #1 Disable the default sitemap rebuild cron task

Go to the
Admin Control Panel

Navigate to
Tools >
Cron entries

Find the task named
Rebuild sitemap

Click
Disable
Step #2 Create a custom sitemap rebuild cron task

In
Tools >
Cron entries, click
Add Cron Entry

Fill out the fields as follows:
•
Title :
Daily sitemap rebuild
•
Callback Class :
•
Callback Method :
Step #3 Set the task to run daily

Under
Scheduling, set:
•
Day type :
Every day
•
Hour :
3 (e.g. 3 AM)
•
Minute :
37

Check
Active
Step #4 Save and activate the new cron task

Click
Save

Ensure the new task is listed and marked as active
Step #5 Verify execution of the new cron task

Locate
Daily sitemap rebuild in the cron list

Click
Run now to test immediately

Confirm the sitemap is rebuilt successfully
Tip
Always create a new cron task instead of modifying core ones. XenForo updates may reset default settings.
Warning
Setting the rebuild interval too frequently can impact server performance and be counterproductive for SEO.
Recommendation
Schedule the sitemap rebuild during off-peak hours (e.g., at night) to reduce server load and improve search engine efficiency.
Alternative solutions
•
change sitemap cron frequency XenForo 2.3
•
create new cron task XenForo 2.3
•
XenForo sitemap rebuild interval
Useful links
•
XenForo Community
•
XenForo Developer Documentation
•
GitHub search XenForo sitemap cron
Conclusion
Adjusting the sitemap rebuild schedule in XenForo 2.3 ensures timely updates for search engines. Using a custom cron task allows full control and avoids interference from system updates.