Google Shows 405 Errors with wp-comments-post.php

I have been tracking the web crawl diagnostics in Google webmaster tools for quite some time, and over the last few weeks have been noticing a Google 405 Error with wp-comments-post.php file in my wordpress installation.

Web Crawl is a useful webmaster site diagnostic tool that lists URLs from your site that Googlebot had trouble crawling. Googlebot found this wordpress pages had a http error.
https://www.quickonlinetips.com/archives/wp-comments-post.php

Google 405 error

Clicking on that link takes you to a blank page. I clicked the help ? and 405 Error means that “The method specified in the request is not allowed.”

Similarly while tracking the outgoing clicks via Mybloglog traffic statistics, I found that outgoing clicks were being redirected to these links also

Outgoing wordpress clicks

I failed to find where this link with the anchor text “Submit Comment” was located on my site. It seems to be somehow related to the commenting system on the blog. As far as I can tell, comments have been posting ok on the site (unless some of you have noticed a problem like blank pages or bad redirects).

I thought maybe I had tweaked the wordpress comments template and created a bug, so I replaced it with the default wordpress comments template to avoid such bugs. But the link is still getting more clicks. I ensured the latest file for wp-comments-post.php was correctly installed in WordPress 2.3 too. I have also disabled the useful “Subscribe to Comments” wordpress plugin to check if that is conflicting in some way with my wordpress installation.

Have you encountered such an error with your wordpress installation? What do you suggest I do?

Share with friends

About the Author: P Chandra is editor of QOT, one of India's earliest tech bloggers since 2004. A tech enthusiast with expertise in coding, WordPress, web tools, SEO and DIY hacks.