Take a look at this post
Accompanied by:
How to change permalink structure for custom post type and it’s taxonomies?
and
Custom post types, taxonomies, and permalinks
It will cover what you are trying to do for /category/subcategory/othersubcategory/posttitle.
Edit: I implemented this and fixed some issues with a double trailing slash.
Look at this, it works How to fix a double slash in custom permalinks with hierarchical taxonomy’s?
Related Posts:
- How to change permalink structure for custom post type and it’s taxonomies?
- How do I append multiple taxonomies to the URL?
- Disable Single Post View for Specific Taxonomy on Custom Post Type
- Disable WordPress Recognizing Path as Attachment
- Custom Post Type: How to display all of same taxonomy?
- Remove “-2” from a Toolset Types URL with the same post name
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Permalinks for Taxonomy and Custom Post Type
- Update permalinks when new category added to custom post type taxonomy
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Custom Post Type with modified permalink structure results in 404
- Using page title as a link to term archive
- How to use taxonomy term as permalink folder
- Duplicate slug/permalink issue while adding same post name
- Custom permalink structure for custom post types including multiple taxonomy
- Permalinks for a custom post type – with a page template (custom query) and taxonomy archive
- Custom Post Type Categories Not Maintaining URL structure any more
- Problems with custom post type and hierarchical permalinks
- Single and Archive Pages with Custom Post Type
- Is it possible for post and custom post type to share a category base slug?
- How do I get the permalink of a custom post type?
- Shouldn’t this be easy?! Custom post type/custom taxonomy permalink
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- How to limit the number of terms (terms acts like categories)
- Custom Post Type – Taxonomy Dropdown Menu?
- How can I list all the categories under a Custom Post Type (taxonomy)?
- How do I display two separate taxonomy archives for two post types that share a single taxonomy?
- Query Custom Post Type taxonomy type based on page
- How to modify URL structures in custom post types and taxonomies or terms
- array_pop() expects array, boolean given for $event_type_term ->slug
- Can /%year%/%monthnum%/%day%/ structure tags be added to custom post type permalinks?
- How to rewrite custom post type URL for multiple depths instead of one specific depth
- On clicking on the category name the page is redirecting on 404 pge
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Include taxonomy slug in url?
- Custom permalink – append taxonomy name and term name at the end of permalink
- Using a Custom Post Type Attachment as link
- Bug when editing custom post type category?
- custom post type and custom taxonomy url conflict
- Having trouble understanding custom post type and taxonomy :/
- Get a permalink structure of /%posttype%/%category%/%postname%
- Assign Taxonomy Based on Custom Field Value
- Custom Taxonomy Creates Unwanted Integer Terms on Post Save
- Customize permalink when creating a post
- tax_query returning all posts instead of selective posts in WP_Query
- Custom taxonomy in URL showing 404
- Custom post type and permalink issue
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- create a subcatagory for a custom post type and out put url as posttype/subcategory/item
- Completely remove custom post type permalinks (“One Page” website)
- Permalinks: custom post type -> custom taxonomy -> post
- Custom post type permalink tag 404
- How to get list of taxonomy slugs ordered parents>childs?
- Custom permalinks rules don’t match and lost of query var in the process
- Review site custom post type structure
- How to Create Template File for Parent Page of Custom Post Type
- Changed permalink structure of CPT – should I redirect?
- How to hyperlink content from archive page with custom post-type
- How to get all Custom Post Type Filtered by one Specific Taxonomy Term
- retrieve permalinks of posts inside custom post type by using post ID
- Custom post type permalink sends to 404.php
- Template for custom post type when taxonomy is in the URL
- Custom Post Type posts, conflict with posts after add_rewrite_rule to top
- How to change base in tag URL for custom post type, to not use “Custom Structure” set in Permalinks setting?
- Combine multiple CPT names to create valid permalinks
- Get assigned post categories
- Query custom post types & Taxonomies and list them in a table on a page
- Default Category Page not showing custom post type which has taxonomy category
- Creating custom post type posts and associating them with a post from another custom post type
- Custom rewrite rules for /pastissues/%category%-%postname%.html
- Subpages Permalinks Issues
- Stop displaying Permalink
- Custom Endpoint For Specific Custom Post Type
- How do you create pillar content pages?
- Custom post type single page returning 404 error when sharing archive url with custom taxonomy
- How to get current post type?
- Two and more diffrent custom page type in one permalink
- Page as parent for CPT and other pages
- Custom permalink with custom taxonomies for custom post type
- Wrap an X amount of taxonomy posts in a separate Row in WordPress
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Change the url of a custom post type to include taxonomy
- how to use two permalinks for one custom post type based on categories
- Can I override the permalink/slug on creation
- Remove sequential number from permalinks
- Default taxonomy ‘post_tag’ added to CPT managing by custom role : nothing in the metabox
- Permalinks when using Custom Post Type with static page for archive
- How to change permalinks to taxonomy and post type’s posts
- Redirect permalinks after creating custom post types
- Parent cpt/child custom post type URL permalink relationship
- 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
- Display associated taxonomy child name on single CPT page
- What is the best way to relate different custom post types?
- Modify permalink of CPT archive to support two taxonomies