Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.
Note: Since WP Job Manager version 1.27.0, the job permalinks can be changed inside Settings -> Permalinks, under the Optional section.
For the previous versions of WP Job Manager, please refer to the guide below. Thanks!
Job listings in WP Job Manager default to the permalink ‘jobs’. So, for example, a job may have the following URL:
There are two methods of customising this;
- Using a localisation file and translating the string
- Using a filter
Important: After changing the slug, you need to resave your permalinks for it to come into effect. Go to your WordPress dashboard and find Settings > Permalinks. Hit save and you are done.
Changing the permalink base using filters
The filter method involves adding some custom code to your theme functions.php to filter the permalink. e.g. Change ‘jobs’ to ‘careers’:
Changing the permalink slug for new jobs
To make job permalinks unique, the slug has company name, location name, and job type (as a number) appended to it.
e.g. job/acme-london-6-awesome-job (Note: these are only added when the job is posted via the submit job form on the frontend).
You can customise this via filters added to your theme functions.php file:
Omit or comment out the parts you don’t want to remove from your job permalinks.
Example: Appending the Job ID to the permalink slug
This code will append the job ID to the permalink slug when saving a new job listing. e.g.
Note: If you want to apply this to all existing job listings, you’ll need to bulk edit them and click update, to trigger the “save_post” action.
Example: Adding the Job ID to the base URL
This snippet would add the Job’s ID to the base url. E.g. /job/1234/job-title
Example: Adding the category to the base URL
This snippet would add the Job’s category name to the base url. E.g. /job/job-category/job-title
Example: Adding the category and region to the base URL
This snippet would add the category name and region name to the base url. E.g. /job/job-category/region/job-title
(Requires the Astoundify Predefined Regions plugin. Please note that this plugin has not been updated in 2 years, so there is no guarantee this snippet will work. Use at your own risk.)
Change the job category and job type slugs
With the following snippet, you can change the slug for job category and job type. E.g. /job/industria/do-not-know/job-title