Comment form not working... (2 posts)

  1. deviouslife
    Posted 6 years ago #

    I wrote my own little comment form, but for some reason every time the submit button is clicked, the user is redirected to http://myurl.com/^$ where is the user's IP address. Any ideas why this could possibly happen? I've looked through everything and can't seem to find it.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Sounds like your form has a problem. The opening form element needs to be:

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

Topic Closed

This topic has been closed to new replies.

About this Topic