NEWS: How to get real Client IP address in php (stop using $_SERVER['REMOTE_ADDR'] ) [New
Fix for some variables($_SERVER['HTTPS'], $_SERVER['SERVER_PORT'], $_SERVER['REQUEST_URI']) for Wordpress based site, which prevents 'Too many redirects' error. · Issue #545 · nginx/unit · GitHub
How to Get the Current Page URL in PHP - Pi My Life Up