Just use the following rewrite
argument in your register_taxonomy()
call:
register_taxonomy( 'product_cat', 'product', array(
'rewrite' => array(
'with_front' => false,
'slug' => 'product/poruct-cats',
),
// Other arguments
));
Related Posts:
- Removing taxonomy base using WP rewrite
- Custom taxonomy on permalink
- Custom taxonomies, with custom rewrites/slug, AND loading a taxonomy archive template from a plugin
- WP redirects pretty permalink to query string
- Add parent/child taxonomy to custom post type url
- Taxonomy with_front causes all
- 404 error- issues with pages after adding custom rules for posts
- How to overwrite registered taxonomy url from vendor plugin in child theme
- How to add a Rewrite Rule / Category Structure
- Custom permalinks with hierarchical taxonomy – getting PHP warning
- Taxonomy Pagination Rewrite
- how to change permalinks format for pagination?
- Custom Taxonomy and Rewrite URL
- Rewrite Rules returning wrong data
- How to change url for taxonomy pages?
- Rewrite Search URL Permalink For CPT Custom Taxonomies
- How to change Custom Permalink for Taxonomy? (remove the slashes from term-slug)
- How do I get the correct URL?
- How to structure all custom-taxonomy with three verbs(a,b,c) and route them accordingly?
- Rewriting url for multiple Taxonomies and Custom Post Type
- Custom rewrite url structure for several custom taxonomy (NOT pos_type)
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- Permalink structure not working with Custom Taxonomy (URL like ./taxonomy/category/postname)
- add_rewrite_rule using custom taxonomy and year
- custom taxonomy and pages rewrite slug conflict gives 404
- Remove taxonomy base or term from url
- Custom Taxonomy Endpoint Pagination using paginate_links()
- Archive page with multiple taxonomies rewrite
- How to enable hierarchical permalinks for hierarchical taxonomies
- URL rewrite rules for multiple taxonomies query
- Rewrite rule for custom taxonomy
- How do I rewrite a url to use %taxonomy% instead of %category% when multiple taxonomies are present?
- WP Rewrite Rules – Custom post type & taxonomy
- Pros and cons of using [taxonomy name] in place of [category name]?
- Remove base slug in CPT & CT, use CT in permalink
- term_link() filter or rewrite and howto?
- Permalinks for quote authors
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- Custom Permalink Tag breaks Pagination
- Custom Permalink for Taxonimie and Custom Post Type
- how to get archive urls with same origin for custom types and terms?
- How do I get WordPress URL rewrites into Sitemap?
- Keep taxonomy base name in post permalinks
- Permalink Structure CPT With Custom Taxonomy Fails
- Permalinks for custom taxonomy stopped to work
- How Can I Change a Taxonomy URL Based On The Originating URL?
- Remove url rewrites for registered taxonomies
- Rewrite URL for taxonomy listing
- Change the permalink URL to include a taxonomy term
- Rewrite Rule Working for all but one of the taxonomies created
- Page and Post return 404 with custom taxonomy
- Customize Custom Post Type URL
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- Custom taxonomy rewrite with query var returns %2F in URL
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How do I modify taxonomy term slugs dynamically?
- woocommerce custom product category template
- How do I create a permalink structure with 2 taxonomies
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- Pagination on Custom Tax Pages Removes Spaces from Query Vars
- Taxonomy Rewrite Rules Redirecting Instead of Masking
- How to rename custom taxonomy URL with extra words
- Custom URLs in Custom Search Results
- Custom Taxonomy specific to a Custom Post type – rewrite URL
- Why is flush_rewrite_rules mandatory after registering custom taxonomies?
- Permalink Problems
- How to add hierarchical taxonomy with parent child relation to URL?
- Clean Custom URL for Serach + Custom Taxonomy
- WordPress custom permalink and archive link for custom post type
- How to rewrite the post slug of a custom post type post
- Custom rewrite permalink doesn’t work
- forward/redirect taxonomy archive of term to a page with same name
- URL rewriting taxonomy term
- How can i fix a 404 error when targeting custom taxonomy slug ?
- Permalink issues with custom taxonomies
- Custom taxonomy and post type rewrite rules
- Remove cpt slug from url and use custom taxonomy instead breaks all other cpt
- How to properly set the rewrite rules for this case?
- How can I rewrite the URL of my custom taxonomy to include the year?
- How to replace custom post type with custom taxonmy in permalinks
- Multiple Custom Taxonomy Rewrite
- Change CPT permalink to use the category
- How to fix 404 on post after prepending Custom Post Type url with Custom Taxonomy Term slug
- Redirect Custom Post Type from Child Taxonomies
- How to paginate with an query var appended to permalink?
- Permalinks incorrectly inserting multiple categories
- Custom Post Type rewrite url to /category/pagetitle [duplicate]
- page not found for example.com/custom-post-name
- redirect old post type url to new structure url
- If term and page have the same slug, how can I view the term archive?
- rewriting for custom taxonomy rewrite
- Taxonomy to WordPress Permalinks of custom post type
- Multiple Taxonomy in URL/Query – No Custom Post Type
- Creating a page for custom taxonomy archive
- Custom Taxonomy in Permalink from post type
- Custom Taxonomy Archive URL rewrite
- Later change of taxonomy slug base not changing permalink
- Filter posts and custom taxonomy using add_rewrite_rule
- Two taxonomies with the same slug