Turnstile on WordPress Comment Form
-
I recently put my website – https://huppbrian.us – onto Cloudflare and implemented Turnstile CAPTCHA on all the website forms in the AIOS plugin Brute Force settings. I have been running AIOS on the site for years, and also have the Litespeed caching plugin running. It took a little tweaking to make all of these things play nicely together that I won’t go into here.
All of the CAPTCHAs worked fine except the WordPress comment form. Although I had enabled the Turnstile CAPTCHA on all the WordPress forms in the AIOS Brute Force tab, the Turnstile widget never showed up on the comment form. If I tried to enter a comment, I received the following:
Error: You entered an incorrect CAPTCHA answer, please go back and try again.
I thought the issue might be with Litespeed so I tried making an exception to caching the comment form PHP in the Litespeed settings, as I had previously done with the login form. That didn’t work, so I temporarily deactivated Litespeed. That didn’t help either.
After messing with the issue for a little while, I finally ended up disabling the CAPTCHA on all the forms in the AIOS settings and installed the Simple Cloudflare Turnstile plugin from Elliot Sowersby / RelyWP. I enabled the Turnstile CAPTCHA on all my forms (including my Forminator contact form) in the settings of the Simple Cloudflare Turnstile plugin, and all the CAPTCHAs are now working fine.
Note – If you visit the site, you won’t see the CAPTCHA widget anywhere. That’s because after I got everything working, I set the widget visibility setting to “Interactive only” so the widget will only show up if Turnstile decides to ask for a response from the visitor.
So I don’t need any help with this issue because I have a viable workaround. But I thought it might be helpful to create a support topic so that the AIOS team is aware of the issue, and other AIOS users who might encounter it will be aware of my experience so they can implement the same workaround if desired.
The page I need help with: [log in to see the link]
The topic ‘Turnstile on WordPress Comment Form’ is closed to new replies.