Had similar situation not long ago. Check the answer to my question here. I believe that will solve your problem.
Related Posts:
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Archive page with multiple taxonomies rewrite
- Rewrite custom post type url’s adding meta box values
- CPT Archive with core Category
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- Archive page for custom post type and custom taxonomy
- Custom archive URL as a subfolder of the custom post type slug
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Custom rewrite rules for archive page and single post
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- Multiple post types – share same ReWrite slug?
- Custom post types – Use post_id in permalink structure when using has_archive => true
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives by Date with Custom Permalink
- How to modify URL structures in custom post types and taxonomies or terms
- Change title in head on Archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- How to filter custom post type archive by meta value
- Taxonomy archives based on Custom Post Type
- Change page /2 to /transcript with a Rewrite
- Permalink rewrite with custom post type and custom taxonomy
- Permalinks for CPT breaks permalinks to pages
- Regex problem in an add_rewrite_rule
- paginate function in archive for custom-post-type
- wrong template for page of archive
- WordPress Rewrite rule for nested post types
- Custom Post Type rewrite redirects to homepage
- How to create archive page for taxonomy terms within custom post type
- Adding paged query to custom URL rewrite
- Custom Post Type rewrite rules not working, how to alter the rewrite order?
- WordPress custom post type archive with description
- Customising rewrite rules for CPT single post URL to work as paged URL
- How to list custom post types?
- Remove custom post type slug not working for child pages
- custom taxonomy archive by year
- How to Combine Two Custom Post Types into Single Permalink Structure
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- Remove url rewrites for registered taxonomies
- get the custom post type title/name
- CPT custom archive template does not get loaded
- Rewrite slug of custom post type to include post-id
- URL of a custom post type’s post format archive?
- Create template for taxonomy results limited by Custom Post Type
- How to change custom post type permalink structure
- Front custom edit post page for each post
- How can achieve this permalink perfectly? domain.com/%category%/%post-name%
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- Custom Permalinks with CPT and Hierarchical Taxonomies
- Rewrites/query for multiple hierarchical custom post types
- Post Type rewrite rule to point to custom Page/template
- Canonical url differs from custom post type archive URLs
- How to get list of taxonomy slugs ordered parents>childs?
- add_rewrite_rule and passing variables for custom post types
- Ignoring slug capitalization on rewrite rule for custom post type archive page
- Add parent post to Custom Post Type [closed]
- What’s the name of the custom post type yearly archive template?
- How can I use archive-{post_type}.php theme template?
- Custom Permalinks for Custom Post Types
- Postname on unique permalink structure appends “-2” for a custom post type. How can I get this to stop happening?
- Route subpage to Custom Post Type
- Use the custom post type archive for taxonomies?
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- How to constrain the results to a specific post_type on tag archive page?
- WordPress custom permalink and archive link for custom post type
- Pagination for custom post types – url rewriting
- Modifying rewrite rules to use /category//
- multiple URLS for the same page
- Rewrite URL for CPT to domain/post-name/post-id
- How to apply multiple rewrite_rule to a single custom post type url?
- How to change URL for custom post type archive?
- Custom permalink structure for custom post types including multiple taxonomy
- Custom Post type page content (archive page)
- Group custom post type posts by month
- CPTs relationship
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Tell wordpress to show a single page instead of an archive page
- Custom Post Type parent/child relationship rewrite rules for permalinks
- Rewrite url for custom post type with specific url
- URL Rewrite and Archive Template Files – Post Type vs. Taxonomy
- How to build overlapping custom post_type and taxonomy rewrites without conflicts?
- Two CPT: one is using part of the custom rewrite slug from the other
- Custom taxonomy archive slug overwrites static page
- WordPress custom post type rewrite rule matches all pages returning 404
- page not found for example.com/custom-post-name
- Rewriting archive page slug to be different than custom post type slug
- Site loads very slow for archive custom post type page
- Why won’t this rewrite rule work?
- Rewrite rules causing hole
- Parent cpt/child custom post type URL permalink relationship
- Custom post type category page not working
- paging is not working properly on news archives page [duplicate]
- Rewrite Rule & Regex – Extract ‘cat-name’ and ‘page-number’ from http://domain.com/custom-post-type/category/cat-name/page/page-number
- How can I set up the URL for a category archive for a custom post type?
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Generate daily archive whenever any post type is added
- Custom post type permalink structure
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Remove plugin’s custom post type archive page and single pages [closed]