Why is WordPress redirecting users to random posts after commenting?
You’re doing something that is affecting the value of the main $post variable in an incorrect manner. The WordPress template consists of one main Loop. That Loop, on a single post page, shows the one and only Post (or Page). When the comments form runs, it expects the last post from the Loop to be … Read more