Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Disable wp-cron.php even when someone visits the page ?

$
0
0

Replies: 0

Hello,

I read everywhere that people disable automatic cron with

define(‘DISABLE_WP_CRON’. true);
(be careful, define(‘DISABLE_WP_CRON’. ‘true’); IS INCORRECT)

But at the end, even if you disable it, bots or anybody can run it by visiting this page:
wp-cron.php

So is there any solution to stop this script to run totally even if someone visits this page ? yourdomain.com/wp-cron.php

Thank you.


Viewing all articles
Browse latest Browse all 67836

Trending Articles