## Replace the custom post type permalink

Question

I am quite new to wordpress and I’d like to know what I am doing wrong here:

I’ve created a custom post type, let’s say, custom_post_type_jobs.

And I have a page which is called jobs.

When I create a custom post type post, it has a permalink like this: …/custom_post_type_jobs/post-title.

Since I have a shortcode on the page “jobs”, which renders some stuff, I would like to render the posts there and when clicking them I want a structure as follows: /jobs/post-title.

Am I missing here something?

When creating the custom post type, I gave it the args:

'rewrites' => array(
'slug' => 'jobs'
),


0
2 months 2023-02-05T10:14:10-05:00 0 Answers 0 views 0