John Davidson

php - I'm Getting WordPress Comment Spam That's Bypassing my Comment Form. How Can I Combat This?

0 comments
Message:


All posts on my blog have open comments, no matter the age of the article. The comment form requires a name, URL, and comment in order to be submitted. I get notified of each comment via email through WordPress and all comments are held for moderation before approval.


Lately I'm getting the same comment spam being submitted as comments but there are a few anomalies:



  • Each comment has more or less the same text. I've added that text as restricted text in my WordPress Discussion settings, but it still bypasses that filter.

  • Each comment has no email address submitted. Somehow they're bypassing the email field by (I'm assuming) targeting comments.php directly.

  • Each comment has a different IP address, so I can't even block by IP in .htaccess, since it's always new.


Any idea how this can be combated? I'm using an anti-spam plugin that I pay for but I don't see a way for it to combat this specific problem. Thanks for any help.



My Answer:
PHP is a popular server-side scripting language that is used to create dynamic web pages. It is often used in conjunction with HTML to add functionality to websites, such as processing form data, interacting with databases, and generating dynamic content. PHP code is embedded within HTML documents and is executed on the server before the page is sent to the client's web browser.

Rate this post

3 of 5 based on 4922 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us