<?php
// redirect single results pages to home
add_action( 'template_redirect', 'wd_cpt_single_redirect' );
function wd_cpt_single_redirect() {
$queried_post_type = get_query_var('post_type');
if ( is_single() && 'post-type-slug' == $queried_post_type ) {
wp_redirect( get_home_url(), 301 );
exit;
}
}