WordPress.org

Ready to get started?Download WordPress

Forums

iThemes Security (formerly Better WP Security)
Comment Jetpack htaccess Code (2 posts)

  1. benhartwich
    Member
    Posted 1 year ago #

    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/

  2. sparkfactor
    Member
    Posted 1 year ago #

    I just removed those lines and it appeared to have done the trick!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic