Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12488

Comment Spam – block comment spam

$
0
0

[Topic has been split into a new Topic]

Hi,

I’m just about to launch a members only community site and thought i should review the comment spam protection options. So… a couple of questions about blocking comment spam…

1. Is it advisable to add the list from http://www.theedesign.com to your code above?

2. In WP codex ref. http://codex.wordpress.org/Combating_Comment_Spam/Denying_Access they have this code:

Can I add this as well as the above code? and as well as the BPS brute force login code (as it presumably only protects wp-login)? And if so where? – in the bottom custom code box with the comment spam code?

# Deny Access to No Referrer Requests
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*yourdomain.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) http://%{REMOTE_ADDR}/$ [R=301,L]

Many thanks.

  • This topic was modified 19 hours, 24 minutes ago by  AITpro Admin.
  • This topic was modified 19 hours, 20 minutes ago by  AITpro Admin.
  • This topic was modified 19 hours, 19 minutes ago by  AITpro Admin.

Viewing all articles
Browse latest Browse all 12488

Trending Articles