WordPress.org

Ready to get started?Download WordPress

Forums

spam coments (4 posts)

  1. ketanco
    Member
    Posted 2 years ago #

    although i disabled anyone who is not registered to make a comment, i still found comments from people who are not registered. because i looked at who made those comments and then i compared it with registered users and they were not among registered users. can you tell me what can i do?

  2. ysb8899
    Member
    Posted 2 years ago #

    Try to activate Askimate!

  3. ketanco
    Member
    Posted 2 years ago #

    thats not the problem. the problem is how com users who are not registered can post comment at all? i disabled that. how can they still do it?

  4. MickeyRoush
    Member
    Posted 2 years ago #

    thats not the problem. the problem is how com users who are not registered can post comment at all? i disabled that. how can they still do it?

    Possibly through your theme or a poorly coded plugin.

    Try adding this to your .htaccess file:

    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !.*yourdomain.com.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule .* - [F]

    From
    http://codex.wordpress.org/Combating_Comment_Spam/Denying_Access

    Don't forget to change yourdomain.com to your actual TLD.

Topic Closed

This topic has been closed to new replies.

About this Topic