Here, WordPress doesn’t allow to run URL in two way.
e.g. (1) www.example.com/work/directors-cut-best-in-the-world/
(2) www.example.com/director/wes-pollitt/directors-cut-best-in-the-world/
You should decide which URL do you want to run in browser.
If you want to run single URL then check this : Add category base to url in custom post type/taxonomy
You can conditionally change permalink before load.
Related Posts:
- Add extra parameters after permalink?
- Change permalinks for posts but not for custom post types
- Custom permalinks – post type – hierarchical taxonomy’s
- Add extra parameters after permalink?
- Automaticly add slug to posts
- Add custom post type settings to wordress default posts
- Permalink misbehaving in Custom Post Types
- Check post on publish for blank title
- How to implement a different permalink structure for custom post type?
- How to setup different permlalinks for posts and pages?
- Adding /blog in front of single posts (only)
- How to mass get post editor URLs
- add all blog posts to folder
- Permalink for specific post type
- News post with multiple permalinks? When opened from different page
- Links Image in “Catalog” Page to Posts
- Custom Post Type permalink not working on new posts
- Change permalinks for posts but not custom post type?
- Wp-theme Development
- How to get permalink of post based on post name?
- How do I get the permalink of a custom post type?
- Restrict custom post type to only site administrator role
- Shouldn’t this be easy?! Custom post type/custom taxonomy permalink
- How to force one column layout on custom post type edit page?
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- Taxonomy term in permalink
- Slug for custom post type archive
- Semantic URL Custom Post Type and Taxonomies permalinks
- Assigning a role to a specific custom post type (and ignoring other post types)
- Display posts in random post types
- IF statement in a do_shortcode
- Make `previous_post_link()` Function Show The Post After Next i.e. Jump A Post
- Passing parameters to WordPress static front page
- Remove All, Published and Trashed Post Views in Custom Post Type
- Possible for Category Base and Custom post Type to share the same slug/permalink?
- How much control do we have over CPT rewrite slugs? Can I create a “root” page for my CPT with out the page path, and then have paths for other pages?
- Removing parent slug in hierachial custom post type
- Wrong generated page_name/slug on first publish of custom post type
- Open Custom Post Type as PDF
- Stop / prevent WordPress from updating permalinks of custom post type
- How do I correct an incorrect permalink?
- Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname
- Why doesn’t a custom post type permalink ever hit index.php
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Allow post/page hierarchy across different post types?
- Update Post Meta for a logged in user
- Get the category from custom post type
- Is it possible to store Custom Post Type data in separate set of tables and still have wp_post class functionality?
- Custom Post Type Permalink
- Permalinks for custom post type
- I’m having trouble getting the permalink sample on my custom post type edit page to work
- Is it a good idea to add a column to the posts table?
- Display Only Certain Category In a Custom Page Template
- Creating separate feeds for custom post types
- One Custom post type 404’s others don’t
- Auto post creation
- Custom Post Type to replace Woocommerce products – page not found error
- Ideas on how to organize a project [closed]
- Easy reading or transfer of data from posts?
- Custom Post Type with modified permalink structure results in 404
- Custom Post Type Pretty Structure
- CPT, meta-data, url parameter
- The loop does not show users
- Change permalinks for custom post type based on taxonomy term
- Front-end Image Upload to Custom Meta Box
- Create a custom post type based on ‘Post’
- How to use taxonomy term as permalink folder
- Invalid content when I try to import custom post type from the old template wordpress
- How to set post date in post_type so that it’s same as latest post in category
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Finding the CPT archive template source
- Right way to store a large set of similar information on website? [duplicate]
- How to prefix custom post type URL with custom post taxonomy term?
- Create a post automatically if search result has zero results
- How to stop a permalink redirecting to a page whit same slug but different permalink
- Bulk trashing post ‘fails’
- Pagination not working (page/2 retunring 404 page)
- Event Manager: Events Deleted are still in DB as published but hidden in admin
- Problem to get the link of the default ‘post’ post type like the orther custom types
- Change the url of a custom post type to include taxonomy
- how to use two permalinks for one custom post type based on categories
- Featured image in custom post is being disabled
- Multiple custom post type and permalink issue
- Getting wrong ID
- Remove sequential number from permalinks
- Permalinks when using Custom Post Type with static page for archive
- Redirect permalinks after creating custom post types
- Parent cpt/child custom post type URL permalink relationship
- Query Only Show Text on Posts With Certain Taxonomy Tag
- Problems with custom post type and hierarchical permalinks
- Custom Post Types and 404 Pages
- Posts picking up old Permalinks, how to reset?
- Remove slug from Custom Category Permalink + dual-category permalinks
- WordPress Set A Static Page/Template For All Sub-Pages
- How to make a template for a specific post of a custom post type?
- How to hide home title on pages and posts?
- Front end post or photo or both
- Sort ACF by custom taxonomy
- Custom post type with custom parent prefix slug