WordPress WP-Cron 403 Forbidden – Scheduled posts not publishing

Website URL

https://librosgatitosycafe.com

Error Message

Hello,

I’m using InfinityFree free hosting for my WordPress website: https://librosgatitosycafe.com

My scheduled WordPress posts are not being published. Instead, they show the status “Missed Schedule”.

I installed WP Crontrol and found the following problems:

  • WP Crontrol reports: “Unexpected HTTP response code: 403” when attempting to spawn WP-Cron.
  • WordPress Site Health reports HTTP 403 errors for loopback requests and a REST API endpoint.
  • Several cron events have been overdue since September, including publish_future_post events.
  • Visiting https://librosgatitosycafe.com/wp-cron.php manually returns a blank page, but the pending posts are still not published.
  • Clicking “Run Now” in WP Crontrol schedules an immediate event, but it remains pending.
  • I temporarily disabled Loginizer and W3 Total Cache, but the problem persisted.
  • I also checked the WordPress configuration.

The website itself is accessible, and the hosting account is active.

Could you please help me identify why WP-Cron is failing and how to restore automatic scheduled publishing on InfinityFree free hosting?

Thank you very much for your help!

Other Information

I have already tried the following troubleshooting steps:

  • Temporarily disabling Loginizer and W3 Total Cache, without success.
  • Visiting wp-cron.php manually, but the scheduled posts were not published.
  • Using the “Run Now” option in WP Crontrol, but the events remain pending.
  • Checking the WordPress configuration file (wp-config.php).

The hosting account is active, and the website is accessible.

I would appreciate any guidance on how to fix this issue without having to repeat these troubleshooting steps.

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

This sounds like a platform limit rather than a problem with your site or plugins. I can’t confirm that for your account, though.

In August 2023, InfinityFree disabled the Cron Jobs feature on free hosting. The announcement says any automated background periodic requests are now prohibited on free hosting, and that attempts to reproduce the feature will be blocked:

WP-Cron works by having your site send a request to itself (wp-cron.php), which is the loopback request WP Crontrol and Site Health are complaining about. I think the 403 comes from that blocking, which would explain why disabling Loginizer and W3 Total Cache changed nothing. I couldn’t find a staff answer that says this directly, so treat it as likely, not certain.

Two other people have reported the same 403 on loopback and cron requests. Neither topic got a fix, but they show you’re not the only one:

I didn’t find a supported way to make scheduled publishing run automatically on free hosting. The announcement says the only option for working cron jobs is premium hosting. On free hosting, you’d have to publish those posts by hand at the time you want them live.

Due to how free hosting works WP Cron can only be triggered manually on page load. And WP Crontrol is known to use a way to trigger cron jobs that is not supported here.

So please, uninstall WP Crontrol.