Title: wp-comments-post.php 405 Error Code
Last modified: August 31, 2016

---

# wp-comments-post.php 405 Error Code

 *  [missholleewood](https://wordpress.org/support/users/omfgholleewood/)
 * (@omfgholleewood)
 * [10 years ago](https://wordpress.org/support/topic/wp-comments-postphp-405-error-code/)
 * I have no idea why, but google webmaster tools told me that the page wp-comments-
   post.php had an error so I looked into it. When I go to that page, it says that
   there is an HTTP 405 Method Not Allowed and
    Most likely cause: •The website 
   has a programming error.
 * My blog is [http://www.holleewoodhair.com](http://www.holleewoodhair.com)
 * I ran this blog on wordpress.com for about 3 years and moved it to wordpress.
   org in January of this year. I am by no means an expert with the programming 
   side of things, but if there is something that I need to change in some code 
   somewhere, please be specific and tell me what and where to change it. I also
   wonder if this is a theme issue? I can contact the company I purchased my theme
   from if that is the case.
 * A little more backstory: I have noticed the amount of comments I received declined
   since moving to wordpress.org, but I have received a few recently. I was originally
   using a plugin that was supposed to block spam comments, and realized that it
   was blocking all comments so I have disabled/deleted that (but is it possible
   that this has permanently dmaged my wp-comments-post.php file?). Now I am using
   Aksimet or whatever to block spam.
 * Please help! I am so lost and I can’t find much info from google.

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

 *  Thread Starter [missholleewood](https://wordpress.org/support/users/omfgholleewood/)
 * (@omfgholleewood)
 * [10 years ago](https://wordpress.org/support/topic/wp-comments-postphp-405-error-code/#post-7377932)
 * Also, I host my blog on the bluehost wordpress package. I don’t know if something
   there could be blocking anything??
 *  [girlieworks](https://wordpress.org/support/users/girlieworks/)
 * (@girlieworks)
 * [10 years ago](https://wordpress.org/support/topic/wp-comments-postphp-405-error-code/#post-7377976)
 * [@omfgholleewood](https://wordpress.org/support/users/omfgholleewood/): That 
   file isn’t meant to be accessed directly in your browser in the first place, 
   so that’s probably why you’re seeing an error when you try to do that.
 * What would matter more here is whether or not people can actually _post_ comments
   on your site; and I just submitted a test comment there with no problem.
 * So it seems like the file **is** working correctly as long as it’s being accessed
   in the proper way (i.e., via the comments form submission).
 *  Thread Starter [missholleewood](https://wordpress.org/support/users/omfgholleewood/)
 * (@omfgholleewood)
 * [10 years ago](https://wordpress.org/support/topic/wp-comments-postphp-405-error-code/#post-7377987)
 * Thank you so so much! Should I just try to get google to not index it then?

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

The topic ‘wp-comments-post.php 405 Error Code’ is closed to new replies.

## Tags

 * [405 error](https://wordpress.org/support/topic-tag/405-error/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [programming error](https://wordpress.org/support/topic-tag/programming-error/)
 * [wp-comments-post.php](https://wordpress.org/support/topic-tag/wp-comments-post-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [missholleewood](https://wordpress.org/support/users/omfgholleewood/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/wp-comments-postphp-405-error-code/#post-7377987)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
