Title: Comments returning forbidden error
Last modified: January 1, 2024

---

# Comments returning forbidden error

 *  Resolved [mlyonpajaronian](https://wordpress.org/support/users/mlyonpajaronian/)
 * (@mlyonpajaronian)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/comments-returning-forbidden-error/)
 * Cleantalk has been working very well protecting my comments form. It stopped 
   and now just shows forbidden message.
 * 403 Forbidden
 * You don’t have permission to access this resource.
 * I have tried several of the solutions from this forum.
 * Set cookies: (On) Store data in the website database (alternative mechanism) 
   ALSO set the option “Set cookies” to “Off”
 * Use static keys for JavaScript check (On)
 * Use Anti-Spam by CleanTalk JavaScript library (On)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcomments-returning-forbidden-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/comments-returning-forbidden-error/#post-17311839)
 * Hello [@mlyonpajaronian](https://wordpress.org/support/users/mlyonpajaronian/)
 * Please, adjust the following Anti-Spam settings to avoid errors 403:
    - WordPress Admin Page → Settings → Anti-Spam by CleanTalk → Advanced settings
      →
    - → set the option “Use AJAX for JavaScript check” to “Off” →
    - → set the option “Use static keys for JS check” to “On” →
    - → set the option “Set cookies” to “On” →
    - → set the option “Add a CleanTalk Pixel to improve IP-detection” to “Off” 
      →
    - → set the option “Check email before POST request” to “Off” → Save Changes.
 * Then clear your website cache.
 * Did it help?
 *  Thread Starter [mlyonpajaronian](https://wordpress.org/support/users/mlyonpajaronian/)
 * (@mlyonpajaronian)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/comments-returning-forbidden-error/#post-17311953)
 * Hi Serge, This did not work. Still forbidden on my browser.
 * [https://pajaronian.com/wp-comments-post.php](https://pajaronian.com/wp-comments-post.php)
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/comments-returning-forbidden-error/#post-17312020)
 * Could you send us your webserver error log? It could be found in your hosting
   account.
 * You can send the log either via email:
   [support@cleantalk.org](https://wordpress.org/support/topic/comments-returning-forbidden-error/support@cleantalk.org?output_format=md)
   Or create a private ticket:[https://cleantalk.org/my/support/open](https://cleantalk.org/my/support/open)
 *  Thread Starter [mlyonpajaronian](https://wordpress.org/support/users/mlyonpajaronian/)
 * (@mlyonpajaronian)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/comments-returning-forbidden-error/#post-17316693)
 * Hi SergeM, I figured out the issue. This code was added to my .htaccess file?
   Would CleanTalk add this if I had misconfigured it?
 *     ```wp-block-code
       </IfModule>
   
       # Security
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^wp-comments-post.php - [F,L]
       </IfModule>
       ```
   
 *  Plugin Support [katereji](https://wordpress.org/support/users/katereji/)
 * (@katereji)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/comments-returning-forbidden-error/#post-17316922)
 * Hello [@mlyonpajaronian](https://wordpress.org/support/users/mlyonpajaronian/)
 * The Anti-Spam plugin does not make changes to .htaccess file.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Comments returning forbidden error’ is closed to new replies.

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.gif?rev=3539767)
 * [Anti-Spam by CleanTalk. Spam Firewall & protection](https://wordpress.org/plugins/cleantalk-spam-protect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleantalk-spam-protect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleantalk-spam-protect/)
 * [Active Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleantalk-spam-protect/reviews/)

## Tags

 * [403 Forbidden](https://wordpress.org/support/topic-tag/403-forbidden/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * 5 replies
 * 3 participants
 * Last reply from: [katereji](https://wordpress.org/support/users/katereji/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/comments-returning-forbidden-error/#post-17316922)
 * Status: resolved