Removing / Disabling the monster load lover WP-CRON.PHP file in WordPress

, , , ,

Removing / Disabling the monster load lover WP-CRON.PHP file in WordPress

Posted on: February 7, 2017 Category: Internet, News, Our Company, Servers, Website Tips Comments: 0

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);
6. Save the file and go back to the home page of cPanel.

Halfway there!

7. Now click “Cron Job”.
8. On the cron job page add a * underneath were it says “Day:”
9. 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).
10. Click save and enjoy your faster more reliable new WordPress!

Post your Comments

Fill out all required fields to send a message. You have to login to your wordpress account to post any comment. Please don´t spam, thank you!