Title: Comment Jetpack htaccess Code
Last modified: August 21, 2016

---

# Comment Jetpack htaccess Code

 *  [benhartwich](https://wordpress.org/support/users/yoursql719/)
 * (@yoursql719)
 * [13 years ago](https://wordpress.org/support/topic/comment-jetpack-htaccess-code/)
 * Hi,
 * I use a multisite installation and have made a donation to your plugin.
 * At my htaccess the following code shows up:
 *     ```
       RewriteCond %{REQUEST_METHOD} POST
       RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post\.php*
       RewriteCond %{HTTP_REFERER} !^(.*)nichteinschalten.de.*
       RewriteCond %{HTTP_REFERER} !^http://jetpack\.wordpress\.com/jetpack-comment/ [OR]
       RewriteCond %{HTTP_USER_AGENT} ^$
       RewriteRule ^(.*)$ - [F,L]
       ```
   
 * But then the comment function isn´t availible for visitors at any blogs. At click
   on the submit button for a new comment a http error occurs: You don’t have permission
   to access /wp-comments-post.php on this server.
 * How can I fix this?
 * Best,
 * ben
 * [http://wordpress.org/extend/plugins/better-wp-security/](http://wordpress.org/extend/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  [sparkfactor](https://wordpress.org/support/users/sparkfactor/)
 * (@sparkfactor)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/comment-jetpack-htaccess-code/#post-3790792)
 * I just removed those lines and it appeared to have done the trick!

Viewing 1 replies (of 1 total)

The topic ‘Comment Jetpack htaccess Code’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [.htacces](https://wordpress.org/support/topic-tag/htacces/)
 * [comment](https://wordpress.org/support/topic-tag/comment/)

 * 1 reply
 * 2 participants
 * Last reply from: [sparkfactor](https://wordpress.org/support/users/sparkfactor/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/comment-jetpack-htaccess-code/#post-3790792)
 * Status: not resolved