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!

  • 17 Users Found This Useful
Was this answer helpful?

Related Articles

What is the maximum file upload size for WordPress?

The default file upload size is 200 megabytes for all shared and reseller web hosting servers. In...

How to remove and add a widget in Wordpress

Here is a fast tutorial on adding and removing widgets in Wordpress.

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...

Transferring WordPress to a new web host in 10 steps

If you prefer to get your hands dirty like I do, than here is exactly how to move your WordPress...

Can I add WordPress to an Easy Plan?

Keep in mind the Easy Plan is not made for WordPress so you will need the keep the site optimized...