IP detection, proxies, VPN, CDNs

Modern stacks often sit behind proxies, load balancers, or CDNs. Geo Controller tries to read the correct client IP from common headers when available.

  • Trusted proxy headers: X-Forwarded-For, X-Real-IP, CF-Connecting-IP
  • VPN and anonymizers: can mask real location and reduce accuracy
  • Carrier grade NAT: multiple users share the same outward IP
Warning: If your server is behind a reverse proxy or CDN, ensure it is configured to pass the original client IP to WordPress. Otherwise, geolocation will use the proxy IP.
Was this page helpful?