Post Comment Error 405


#1

Every time someone posts a comment on a post, the server returns error 405 Not Allowed - nginx. I have already disabled all plugins, disabled Cloudflare, and the error persists.

When viewing the logs, is shown:

[08/Dec/2017:09:26:39 -0200] site.com “GET /post-site/ HTTP/1.1” 200 20220 “https://site.com/category/photos/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36”

[08/Dec/2017:09:26:59 -0200] site.com “POST /wp-comments-post.php HTTP/1.1” 405 568 “https://site.com/post-site/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36”

What can I do? Thanks in advance!


#12

You are looking at Access log. Look for error log maybe issue in your nginx conf to block comments all to wp-post-comments.php like this.


#23