WordPress.org

Ready to get started?Download WordPress

Forums

Making wp-comments-post.php automatically redirect users? (1 post)

  1. salomon.meij
    Member
    Posted 2 years ago #

    wp-comments-post.php: http://pastebin.com/EB7SS3wv

    When posting comments, users sometimes get directed to the wp-comments-post.php address, which generates messages letting them know if the comment is a duplicate, you forgot to fill in a field, you provided an invalid e-mailadress, etc. Now I'd like this wp-comments-post.php to also automatically redirect users back to the page they came from. How can I do this?

    I included a vanilla wp-comments-post.php pastebin, for reference.

Topic Closed

This topic has been closed to new replies.

About this Topic