Last Updated on 2021-10-21 by Clay
I have noticed this problem for some time: in my website, behind the URLs of many articles and pages, there are more text like ?doing_wp_cron=xxxxxxxx
. The x
in that pile is all numbers.
According to the answer of the netizen in the ?doing_wp_cron= post in the WORDPRESS.ORG forum, if we are using a backup cron (scheduling system), this is the situation that the WordPress cron system will work normally.
I am starting to have a clue. My WordPress schedule system was invalid before. I once wrote an article to record my solution: [Solved][WordPress] The Scheduled publication Shows "Missed Schedule Post"
At that time, I edit the wp-conifg.php file in the WordPress backend and enable ALTERNATE_WP_CRON.
Solution
To solve this problem, it is to turn off the enabled ALTERNATE_WP_CRON.
Go to the WordPress backend, edit the wp-config.php file.
Comment the following code:
// define('ALTERNATE_WP_CRON', true);
Save the modified file, and the strange URL should not appear on the website.
References
- https://wordpress.org/support/topic/doing_wp_cron-3/
- https://wordpress.stackexchange.com/questions/12777/why-is-doing-wp-cron-being-appended-to-my-urls