How can I hide the URL of WordPress custom post type for the frontend. like http://www.site.com/custom-post-type-slug/custom-post-title
When you register new WordPress custom post type, you need to set like following
$args = array ( ....... 'public' => false, 'show_ui' => true, ....... ) ; register_post_type ('new_type', $args) ;