I am trying to build a theme, hence a comments.php from scratch. I am able to post comments, but when I press the "Reply" link, my reply is posted as just another comment. When I swith to the "twentyeleven" theme there is no problem.
What is even stranger is that a less than 30 minutes ago, both submitting replies and comments did not work with my custom theme and the "Submit" button led to a 404 error not finding wp-comments-post.php . I followed the advice in this toppic and wrote in the form action:
<?php echo site_url( '/wp-comments-post.php' ); ?>
Instead of <?php echo get_option('siteurl'); ?>/wp-comments-post.php
It worked for posting comments, but I still could not post replies.
When I swithced the code back to <?php echo get_option('siteurl'); ?>/wp-comments-post.php
I can still post comments, but no replies.
I am running this on a local server on my computer. I used Bitnami to install WordPress and the server.
I am begging you for help, because I do not want to kill my fascination with WordPress that early in the process. Thanks!