I have created new post type for jobs and i was using the default post for my blogs. Now the issue arisen for the jobs permalink as i was using example.com/blogs/%postname% earlier now i want on jobs is example.com/jobs/%postname% but it is showing up like example.com/blog/%postname%(that is my posted job title)

1 Answer 1


If you have your permalink structure set up as /blogs/%postname% then the post type will assume you want this for new post types as well. You'll need to define rewrites for the jobs post type by using the rewrite rule.

'rewrite' => array('slug' => 'jobs', 'with_front' => false)

Make sure to flush your permalinks afterwards by going to your WordPress dashboard, navigating to Settings -> Permalinks, and clicking "Save Changes".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.