First of all, I would like to thank you for all the bonus custom codes you have been providing, which helps us in hardening our websites from external threats.
Lately, I have been searching for a perfect htaccess code which will protect comments and contact page from spammers.
Is there any perfect htaccess code for this that you can share with us?
The best protection for Forms (login, comment, contact, etc.) is a CAPTCHA. Most contact form plugins come with the option to add a CAPTCHA. If people are required to create an account on your site then BPS Pro JTC will stop 100% of the spambots and then you are left with the handful of human spammers that post spam comments.