How to change default page slug?

I assume you have a custom taxonomy for your CPT, so your CPT should be ‘job’ and your custom taxonomy can then be ‘jobs’ and then you’d have custom terms within that taxonomy for each job type. The Posts then would consist of the individual job with any associated relevant data (rate of pay, hours, etc).

If that is your setup – and how I would do it – then if you DON’T want the CPT or Taxonomy base in the URL, you do have to do a re-write (see this page for some more helpful advice).

Remove Custom Taxonomy Base

I think the problem you’re having is that you’re using a Page (Apply) to hold your form and related job data – which is why your re-write isn’t working.

Try changing to using a Template that is applied to all posts within the CPT, and put your form (either embedded or with a PHP call to the form) on your Template, using it to also pull in any custom metadata through a loop of your CPT and taxonomy.

Leave a Comment