You can achieve your requirement by adding the below code in your theme’s functions.php file. You can add a slug that is similar to the job listing page, then it won’t get redirected to an empty link.
add_filter( 'register_post_type_args', 'thjm_slug_change_register_post_type_args', 10, 2 );
function thjm_slug_change_register_post_type_args( $args, $post_type ) {
if ( 'thjm_jobs' === $post_type ) {
$args['rewrite']['slug'] = 'sample-page'; // Replace it with your slug here, You can also give job_listing page slug.
}
return $args;
}
Further, you can also set a single job permalink manually using our job manager settings. Please refer to the below screenshot.
https://prnt.sc/WYPVCY3sNNuu
Thank you!