Skip to main content

How to block wp-cron.php HTTP requests via Apache or CSF

Comments

2 comments

  • DevTeam9200
    hi team to kindly update adding this to Apache pre_virtualhost_global.conf Order Deny,Allow Allow from 127.0.0.1 Allow from SERVERIPADDRESS Deny from all
    BLOCKS the wp-cron.php page from being access but question I have and want to know is will this impact functions of wordpress website? will it stop the cron job from running all together or impact website performance or functions? Does anyone know impact
    0
  • SimpleSonic
    As long as you're allowing access to wp-cron.php from the local server IP, you should be fine. To know for sure, you can check the Apache logs or the Health Status info in a WordPress installation on the server after adding the code and visiting the WordPress website.
    0

Please sign in to leave a comment.