• Previously I was advised to use X-Forwarded-For HTTP and the following code in my wp-config.php file

    if (isset($_SERVER[“HTTP_X_FORWARDED_FOR”])) { $_SERVER[‘REMOTE_ADDR’] = $_SERVER[“HTTP_X_FORWARDED_FOR”]; }

    But after doing the recent Wordfence update I’m receiving the following error when I log into WordPress.

    Your ‘How does Wordfence get IPs’ setting is misconfigured. This site is currently using the X-Forwarded-For HTTP header, which should only be used when the site is behind a front-end proxy that outputs this header. This site appears to be behind a front-end proxy, so using the X-Real-IP HTTP header will resolve to the correct IPs. Click here to use the recommended setting or visit the options page to manually update it.

    What should I do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Since the latest Wordfence Update, I’m getting the same “Unable to accurately detect IPs” on all of my sites…

    I don’t get the explanation that EvanCourtney did… The “Unable to accurately detect IPs” is the entire error message for me.

    Also seeing this for the first time, on multiple sites.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Your ‘How does Wordfence get IPs’ setting is misconfigured.’ is closed to new replies.