Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: 404 error when trying to post a comment #98553

    OK, I figured it out. It was a rule in my htaccess file that was causing this. In an effort to block spam, I added a rule (below) to redirect people trying to access wp-comments-post.php directly back to themselves. I hadn’t updated the rule to include this domain:

    RewriteEngine On

    RewriteCond %{REQUEST_METHOD} POST

    RewriteCond %{REQUEST_URI} .wp-comments-post.php*

    RewriteCond %{HTTP_REFERER} !.*doitwithwp.com.* [OR]

    RewriteCond %{HTTP_USER_AGENT} ^$

    RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

    in reply to: 404 error when trying to post a comment #98552

    Yes, I only had 5 active plugins (none of them related to comments) and I just deactivated them all, emptied my caches and tried commenting again, but I encountered the same error. Not sure if this is a factor, but I’m on Multisite. Wouldn’t think that that would be an issue, but I figured I’d mention it.

Viewing 2 posts - 1 through 2 (of 2 total)