WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] User Agent (4 posts)

  1. slate62
    Member
    Posted 6 years ago #

    I block blank user agents from my site, when I do I get an denied access error wp-cron.php. Can you give cron a user agent so I don't get that error?

  2. slate62
    Member
    Posted 6 years ago #

    Fixed it

  3. yr88
    Member
    Posted 6 years ago #

    Say how you did it...

  4. slate62
    Member
    Posted 6 years ago #

    I put this in wp-cron.php: $_SERVER['WP-CRON.PHP']

    This assigns a user agent to CRON.

Topic Closed

This topic has been closed to new replies.

About this Topic