Title: Comments &#8216;submit&#8217; button broken
Last modified: August 19, 2016

---

# Comments ‘submit’ button broken

 *  [kessbird](https://wordpress.org/support/users/kessbird/)
 * (@kessbird)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/comments-submit-button-broken/)
 * Blog in question: [http://www.starwalkerblog.com](http://www.starwalkerblog.com)
 * On the comments form, the ‘submit’ button doesn’t work. It sends the user back
   to the homepage of the blog and the comment is not submitted.
 * I have checked through comments.php, and everything looks in order. I have replaced
   the comments.php file with one that works on another site, and that didn’t work.
   I have checked and replaced the wp-comments-post.php file with one I know works,
   and that didn’t work either.
 * I don’t know what else to check. I have a test site with the same theme at [http://www.apocalyspeblog.com/starwalker](http://www.apocalyspeblog.com/starwalker)–
   comments work fine on that one!
 * Help?

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

 *  [shatterjack](https://wordpress.org/support/users/shatterjack/)
 * (@shatterjack)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/comments-submit-button-broken/#post-1369332)
 * did you enable comments in settings?
 *  Thread Starter [kessbird](https://wordpress.org/support/users/kessbird/)
 * (@kessbird)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/comments-submit-button-broken/#post-1369338)
 * Yup, comments are enabled, both in the settings and on the latest post. (Comments
   are closed after 30 days.)
 *  Thread Starter [kessbird](https://wordpress.org/support/users/kessbird/)
 * (@kessbird)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/comments-submit-button-broken/#post-1369348)
 * Ah-ha. I think I found the cause. Turns out the search form in the sidebar was
   overriding the form settings in the comments form. Here’s the fubaring code from
   the sidebar:
 *  <form id=”searchform” method=”get” action=”<?php bloginfo(‘home’); ?>”>
    <p>
   <input type=”text” name=”s” id=”s” size=”15″ /> <input type=”submit” value=”<?
   php _e(‘Search’); ?>” />
 * I killed it dead, and now the comments will actually post. Yay!
 *  [touchdown](https://wordpress.org/support/users/touchdown/)
 * (@touchdown)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/comments-submit-button-broken/#post-1369710)
 * Actually, you don’t have to kill the search code. Just add the close form tag
   which is missing.

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

The topic ‘Comments ‘submit’ button broken’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [comments.php](https://wordpress.org/support/topic-tag/comments-php/)
 * [submit](https://wordpress.org/support/topic-tag/submit/)
 * [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/)
 * 4 replies
 * 3 participants
 * Last reply from: [touchdown](https://wordpress.org/support/users/touchdown/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/comments-submit-button-broken/#post-1369710)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
