WordPress.org

Support

Support » How-To and Troubleshooting » Comments still going to a broken link page

Comments still going to a broken link page

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

    @esmi

    Forum Moderator

    Try editing your theme’s comments.php file and ensure that it uses the line:

    <form action="<?php bloginfo('url'); ?>/wp-comments-post.php" method="post" id="commentform">

    or

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

    My comments.php has this line:
    <form action=’comment.php’ method=’get’>

    Do I replace this with the above or add another line above or below it?

    Also, do I replace ‘url OR ‘siteurl’ with my full URL or does it automatically tie to another file?

    Thanks!

    CK

    esmi

    @esmi

    Forum Moderator

    Replace the line currently in your comments.php with one of the lines quoted above. Either version will create the correct, full, url automatically.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments still going to a broken link page’ is closed to new replies.
Skip to toolbar