Support » Fixing WordPress » comments all appear from server IP address

  • Previously in Kitten’s Spaminator, and now in Spam Karma, all comments appear to come from the same IP address as the server. If that IP get’s blacklisted, then ALL comments get blacklisted.

    I don’t think this is the way it should be working. What have I got configured incorrectly such that the server can’t tell what the ip address of the commentor is?

Viewing 4 replies - 1 through 4 (of 4 total)
  • same problem here. can anyone help with this issue?

    it is to do with your server envriment variables. REMOTE_ADD is the one that normally holds the visiter ip. but some server uses HTTP_X_FORWARDED_FOR. that’s why you are getting for every single visiters.

    i could not figure out how to swap over in wordpress. i have fixed PHPBB2 on this issue



    still no response or solution. Where do I look for the problem? PHP environment variables? SQL variables? WordPress?



    I found a code for to fix this problem but i don’t know where to put it (it’s from byethost, not sure if it works for other webhosts)


    It should be put in a global WP file. Anyone got ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘comments all appear from server IP address’ is closed to new replies.