Support » Fixing WordPress » Comment Spam: How do I make it so that only registered users can leave comments?

  • ilovetheweb


    Comment Spam: How do I make it so that only registered users can leave comments?

    I have the same person from the same IP address that copy and paste items from my blog and posts them in the comment section. I approved one of the comments then I realized it was comment spam. This user to my knowledge is not registered and am having a real bear of a time trying to figure out how to solve this problem.

    Is there any way I can make it so that only registered users can leave comments and they have to put their email address in otherwise it does not show up to even be moderated?

Viewing 10 replies - 1 through 10 (of 10 total)
  • emt036


    Yes — Click on “Options” in the wp-admin menu bar, check the box that says “Users must be registered and logged in to comment,” and then click “Update Options.”

    Note: this is only available in 1.5… What version are you running?



    I think you are being overly aggresive and making life tougher for other commenters for the sake of one person!

    You can simply ban the user IP from Apache or whatever your webserver you are using. I think there are IP banning plugins also available.
    If he is also using Referrer spamming to comment, you can easily ban him using a referrer bouncer plugin.

    Moderator James Huff


    Or, if you have WP v1.5, set the blacklist to delete any comments posted with his name, email, or URL. More info:



    I am running 1.5.

    Thanks for the quick help and replies.



    i set my WP to only allow registered users to comment, yet i still got 5 spam comments. any idea why this is? i looked at the user list, but there weren’t any new registered users

    Moderator James Huff


    Are they trackback spam or comment spam? The registered users only feature will not protect you from trackback spam.

    Hi Nina and you other guys.
    Can this be a pingback comment rather than spam? Im not sure, but I had something similar cos I had a link in apost that operated when opened effectively pingiong myself and caused a “comment” ? could it be that?
    Keep well

    how do i tell the difference between comment spam and trackback spam?

    I am experiencing the same stuff running v1.5 … I have “users must be logged in to comment” AND I have trackbacks and pings off, and I am stil lgetting spam comments… luckily i have moderation on, or the blog would be full of spam……

    Am I missing something here? is there a plugin to make this work for real? I thought that having “must be registered and logged in” would eliminate any of it…..


    Moderator James Huff


    Did you turn trackbacks and pingbacks off for each entry, or did you just uncheck the box in Options/Discussion? If you have just unchecked the box in Options/Discussion, then you have only disabled trackbacks and pingbacks for future entries. See this for more info:

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Comment Spam: How do I make it so that only registered users can leave comments?’ is closed to new replies.