Hello there.
I have a Hustle embed on my homepage that has a hidden custom field of user IP address. I’ve noticed some inconsistencies in the IP address field value when the form is submitted. Sometimes, the IP is not the user IP but the IP of my server (which is hosted with WPMUDEV) and sometimes its not. Why would the IP address be recorded as my server IP and not the user IP?
I have a similar custom hidden field on a Forminator contact form on the same page, and when that is submitted (even from the same user/spambot) the IP addresses are always unique and not my server IP.
So my question is twofold –
1. why would the user IP from the Hustle form sometimes show as my server/and sometimes not?
2. how do I correct the issue so that the IP recorded is always the user IP and not my server IP?
Puzzled.
Thanks in advance.
- Lee
- Freelance WP Developer