How to stop wp-cron.php from overloading your WordPress site

The file wp-cron.php in WordPress is used to process pending posts and check for updates. The issue is for some reason WordPress thought it would be good to run it every time you get a visitor. If you have a less than 100 people a day it should be fine, but after 100 visitors or so the file becomes a load process super hog. Luckily disabling it is easy and in your cPanel you can add a cron to just update once a day.

Here is a step by step on disabling wp-cron.php, feel free to add a ticket and let us do it for you as well.

1. Log into your cPanel and click file manager.
2. Then click public_html if you are not already in the folder.
3. Right click the file wp-config.php and choose edit.
4. After the define('DISABLE_WP_CRON', true);
5. Save the file and go back to the home page of cPanel.

Halfway there!

6. Now click “Cron Job”.
7. On the cron job page add a * underneath were it says “Day:”
8. Now in the section that says “Command” you need to add this code:
cd /home/username/public_html; php -q wp-cron.php (Change username with your actual cPanel username).
9. Click save and enjoy your faster more reliable new WordPress!

  • wordpress, disable, load, remove, wp-cron, wp-cron.php, overload
  • 20 Users Found This Useful
Was this answer helpful?

Related Articles

How many WordPress websites can I have on one plan?

The Easy plan can handle one WordPress pretty well but most Wordpress sites will need the Pro...

How to stop admin-ajax from overloading your WordPress site

The WordPress Heartbeat API is used to have WordPress to connect between your web browser and the...

How to make your WordPress always load SSL

By default your WordPress might not use SSL in the settings. In most cases, it takes a day or two...

How to add force SSL redirects in WordPress

Sometimes adding the SSL link in the general settings of your WordPress admin section doesn't do...

How to set auto updates for WordPress

Setting auto updates for your WordPress won't just save you time and effort. It will assure your...