Fixing slow wordpress page load times caused by cron job

[ad_1]

Not an engineer so apologies if some of these terms are wrong. I had a wordpress site with the default cron settings, which from my understanding meant that wp-cron.php was triggered to run whenever someone visited the site. My site was low traffic, so if nobody had visited in a while then the first page load would be very slow due to the cron job. Subsequent loads were very fast.

I disabled wp-cron created a scheduled cron job following this article: [https://themeisle.com/blog/disable-wp-cron/#gref](https://themeisle.com/blog/disable-wp-cron/#gref). Didn’t seem to cause the problems to go away entirely. THEN I noticed that the “cron” row in my wp-options table was still set to autoload = yes. Does that mean wp-cron.php is still running on every page load despite me having added `define(‘DISABLE_WP_CRON’, true);` to my wp-config.php file? Would setting `autoload = “no”` for the cron row in my wp-options table solve this problem?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer