WordPress.org

Ready to get started?Download WordPress

Forums

Comment form not working... (2 posts)

  1. deviouslife
    Member
    Posted 5 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/^123.123.123.123$ where 123.123.123.123 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 5 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

Tags