Get rid of the filter that you have. Make sure that you use 'rewrite' => array( 'hierarchical' => 'true' )
in your register_taxonomy()
function. Don’t forget to flush the rewrite rules. See this page for more info: Codex
Related Posts:
- Custom Taxonomy in Permalink of Post
- Include Taxonomy slug in post url
- Remove Custom Taxonomy Slug from Permalink
- Add a css class to a taxonomy permalink
- Custom taxonomy rewrite using tax name instead of rewrite slug
- Redirect parent taxonomy to it’s child
- Possible to remove taxonomy from permalink if uncategorized?
- Dynamic Template file for subpage
- wordpress custom post type taxonomy permalink
- How to generate a list of all urls
- Remove Parents From Permalink of Hierarchical Taxonomy
- archive by year and category: permalink support doesn’t work on pagination
- How to separate an overgrown blog into sub-blogs – without breaking existing inbound links?
- Why does page for hierarchical taxonomy parent term go 404?
- Using a taxonomy value as part of a post URL
- Getting the terms from “Beautiful Taxonomy Filters” Results ot Integrate into “Ajax Load More”
- Not recognizing my custom templates in hierarchy
- ‘Unsupported Operand Types’ error stemming from taxonomy re-writes with PHP 8.1
- where is permalink info stored in database?
- How can I reverse engineer a Permalink to Find the Page?
- Mapping Domains to Permalinks (not multisite)
- How to remove dates from existing permalinks?
- WordPress Permalink changes to question mark (?) in URL
- Change permalinks structure for specific category
- Is It A Good Idea To Change Author Slug (user_nicename field) Directly In MySQL DB?
- Why can’t I save permalink “360” for a page?
- Permalinks Question: Adding a prefix ONLY in front of the posts
- Is there a log for the ajax calls made when changing a post’s slug?
- Create slugs programmatically
- Make attachment pages require a base url
- get the_title_attribute by id
- How to Remove -14 from WordPress URL (Permalink)
- Rewrite URL Parameter And Force ‘Pretty’ Permalink
- How to map a URL to a specific template?
- How to hook into permalink when publishing-saving post?
- Problem duplicated shortlinks bitly
- Incorrect 404 for pages when using permalink, a static front page, and posts page
- Best way to programmatically link to multiple categories (union/intersection) [closed]
- Is there a wordpress function that I can use to retrieve the current page that is loaded?
- Custom Permalinks don’t work on local LAMP installation
- Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)
- .htaccess file missing from WordPress install directory
- Remove permalink settings in post for users
- Remove multisite “blog” slug from specific custom post type
- WordPress Permalinks still not working despite all necessary settings
- RewriteRule accepts numbers but not letters in tag
- Server Move: All pages leading home
- WordPress Permalink 404
- Link to the post displays ID instead of slug
- Pages not using permalink
- Include Post Format in permalink
- Redirects after permalink change
- remove product-category base but still redirect to page with same permalink
- Process all virtual sub pages on parent page
- Correct permalinks and 404-error
- What would cause a theme to add extra characters to blog post links?
- Getting 404 when Access post which name start with Digit
- Custom permalink with two parameters
- How to check if the current page is the permalink page?
- Some Pemalink problems, probably caused by wrong .htaccess configuration?
- Custom links in menus not working in multiple environments
- 404 permalink errors on Pages only
- Loop posts based on permalink term
- What happens to the permalink that use %postname% if I change the post name
- Issues when changing permalink Structure
- Assigning proper permalink to blog that is part of a website
- What would cause a 500 Server Error with permalinks turned OFF?
- Changing permalinks back to default ( ?p=123 )
- permalinks on title tag
- Non Latin page permalink problem
- How to redirect old permalinks from https://exmaple.com/category/post_id to https://exmaple.com/category/post_id.html
- Double Slash After Media Path (uploads//)
- New posts link to old posts (random)
- Custom Permalink (with category) for Pages
- 301 redirects after changing permalinks
- Post links broken after migration
- How to change permalink for listings
- wordpress admin panel loop on nginx
- Can’t access new WP install on subdirectory
- WordPress All pages but home simply read “hello”
- How to change link of an uploaded file to the media library
- On Macbook, my permalinks with post name don’t work. Returning 404 error
- WordPress pages break with custom permalink settings (theme directory not output)
- Remove /index.php from Permalink
- Difference and usage of uri (e.g. get_directory_uri) and absolute path (e.g. get_directory)
- Fresh wordpress installation in sub-directory not accessible
- Get link from wpe_excerpt “read more” and move it
- WordPress 4.0 beta – how to change the link URL in RSS feeds
- Folder Name and Category Name WordPress
- How to display post permalinks instead of pages?
- Why is there a # and other characters in URL for WordPress site?
- Search points to /search/?s=KEYWORD instead of /search/KEYWORD
- How to change pagination base from slash to query form?
- WP Custom Permalink Filter
- standard post with extra parameter brings permalink problem
- redirect old pages by .htaccess
- Siteurl code for links
- Redirect Loops Problems
- Add additional URL variations for a Post
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup