Not sure if I understood you right, but there’s an option when registering the custom post type:
register_post_type( 'your_cpt_name', array(
'rewrite' => array( 'with_front' => true )
) );
Not sure if I understood you right, but there’s an option when registering the custom post type:
register_post_type( 'your_cpt_name', array(
'rewrite' => array( 'with_front' => true )
) );