After reading our article on 如何允许匿名评论, one of our readers asked us if it was possible to stop storing IP address in WordPress comments. Some site owners may want to do that to protect privacy of their users. In this article, we will show you how to stop storing IP address in WordPress comments.
不在WordPress中存储IP地址的优点和缺点 （Pros and Cons of Not Storing IP Address in WordPress Comments）
默认情况下，WordPress 会记录并存储在您的网站上留下评论的用户的 IP 地址。这些 IP 地址永久存储在您的数据库中。
默认情况下，WordPress 会记录并存储在您的网站上发表评论的用户的 IP 地址。这些 IP 地址永久存储在您的数据库中。
The reason for storing IP addresses with each comment is to help site owners combat with unwanted comments or spam. Plugins like 阿基斯梅特 can block comments from IP addresses known to be exploited by spammers.
Unless your users are using a VPN服务, their real IP addresses can still be found in your site logs. Most WordPress 托管 providers keep an access log of all visitors to your website for a limited period of time.