By Drews
Hi, I have noticed that in Wordfence every visit to the site is logged with the server ip address and not the real ip address of the visitor.
Any help on why that might be happening. It’s done it since day one.
Thanks Drew
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey Drew - First thing I would do is check this suggestion from the plugin author:
Can you try playing with the setting on the options page that says “How Wordfence gets IPs”? Select the option that best fits your hosting environment. If you are unsure you can select one after the other, saving in between, and check live traffic for real ip addresses to see which one fixes it. https://wordpress.org/support/topic/all-hits-from-same-ip-after-hosting-upgrade
If that doesn’t work, can you describe how your Wordpress is setup? Is it on a server with Apache or nginx? Are you running Wordpress behind a reverse proxy (where nginx or apache forwards all traffic through to a separate port) - this would cause you to see your own droplet’s IP, but it can be fixed. Do you have a service like cloudflare setup in front of wordpress - This can also be fixed
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.