Jobroller - Remove "job-category" slug without affecting page permalinks
We're trying to remove the "job-category" slug from the permalink urls so that it will look like:
"example.com/retail/job-name"
instead of...
"example.com/job-category/retail/job-name"
Now, we've found the right place in the admin-post-types.php where this is created along with the other taxonomies, and we know how to edit it.
However, whenever we remove the "job-category" slug, by taking the "slug" portion out of the rewrite command, our page urls become "Page Not Found 404" errors.
The regular posts work. And the job posts work with the new url "example.com/retail/job-name".
But for some reason, it breaks all the links of the pages only (such as "About us" page).
Is there another bit of code that would need to be edited for this to work? Or another way to do it??
Please respond soon. Thanks again!