WordPress.org

Support

Support » How-To and Troubleshooting » Making wp-comments-post.php automatically redirect users?

Making wp-comments-post.php automatically redirect users?

  • 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.

  • The topic ‘Making wp-comments-post.php automatically redirect users?’ is closed to new replies.
Skip to toolbar