I've read a bunch of threads about this issue, where people can still leave comments on an attachment when the post it's attached to has comments disabled.
First, can anyone confirm this is still a problem in 3.2.1? I've had mixed results, but not sure if it's just the way I have my template set up.
Second, is the following code in attachment.php an acceptable solution, and won't cause SEO issues?
<?php wp_redirect(($post->post_parent) ? get_permalink($post->post_parent) : home_url() ); ?>