[fix] 127.0.0.2
-
hi, if your hosting – like mine – shows visitors ip as 127.0.0.2, adding this code on the very beginning of wp-config.php may solve the issue
if ( $_SERVER['REMOTE_ADDR'] == "127.0.0.2" ) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR']; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[fix] 127.0.0.2’ is closed to new replies.