• Resolved legalsin

    (@legalsin)


    I was wondering if it is possible to change the website the submit button on the comment form redirects to. I’m sure if makes sense to redirect to comments.php for almost every web site, but not mine. I want to redirect mine back to the main web site.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think in WP 2.0 if you add an input value to your comment form called “redirect_to” the post will redirect to that URL. For example, you could include the following in your comments form to get it to redirect here after posting:
    <input type="hidden" name="redirect_to" value="http://wordpress.org/support/topic/55723" />

    Thread Starter legalsin

    (@legalsin)

    thanks a ton, i knew it was something simple and i was overcomplicating it

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

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