It is not possible. When wordpress is parsing the URL, pages are the lowest priority (or fallback default), which means that anything with the same url that is not a page will “win” over them.
You just need to use the same code you wrote for the template of the page for the archieve. You can use the explanation about file names here to make it very easy to target specific taxonomies or terms
Related Posts:
- Archive page with multiple taxonomies rewrite
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- How can I make the slug of the taxonomy also the slug of the custom post
- Allow duplicate slugs for custom post type with taxonomies
- Nested Custom Post Type or Custom Post Type Parents?
- Customize Custom Post Type URL
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- Custom taxonomy rewrite with query var returns %2F in URL
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Including taxonomy term before post type breaks top level pages
- How to get list of taxonomy slugs ordered parents>childs?
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- Get url.com/post_type/taxonomy/term work!
- Different rewrite rules for taxonomies and cp in multisite?
- How can I get this request to use the Custom Post Type page template instead?
- Archive for a Taxonomy of a Custom Post type
- How to add custom taxonomy in custom post type permalink?
- Properly flush rewrite rules on plugin activation
- What’s the name of the custom post type yearly archive template?
- Rename a slug label
- Custom Post type & Taxonomy 404
- Different slug taxonomy for two different CPT
- How to add current custom taxonomy slug to body class
- Using page slug in wp_query
- Taxonomy archive 404ing (not term archive)
- Custom taxonomy or custom page templates?
- Dynamically insert an article at the top of a taxonomy archive – or?
- Listing all slugs?
- Only show posts with a specific term of an associated taxonomy in a custom post type archive
- SEO Concerns With Rewrite Rules
- Use the custom post type archive for taxonomies?
- Custom Post Type Advanced Slug
- Changing CPT slug and taxonomy already registered in parent theme
- WordPress custom permalink and archive link for custom post type
- How to rewrite the post slug of a custom post type post
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- Modifying rewrite rules to use /category//
- Archive page for custom post type and custom taxonomy
- WordPress custom taxonomy page
- rewrite rules hierarchical
- Advanced archive url structure (category, tag and date)
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- Custom taxonomy and post type rewrite rules
- How can I tell if I’m on a custom post type archive page?
- Remove cpt slug from url and use custom taxonomy instead breaks all other cpt
- How do I set a post slug automatically based on taxonomy?
- Custom post type and multi taxonomies + customize url
- Use custom post type taxonomy between cpt slug and name
- Custom Post Type Archive Page showing as 404
- How to properly set the rewrite rules for this case?
- Remove custom taxonamy slug with pagination
- How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post type -> custom taxonomy (one CPT and many taxo)?
- Set up Custom Taxonomy Archive Template File To Cover 3 Categories
- How to show custom post count in archive page
- 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
- Order archive custom posts by taxonomy term [duplicate]
- Custom category taxonomy – archive page not showing up
- The page or ad listing you are trying to reach no longer exists or has expired
- How to build overlapping custom post_type and taxonomy rewrites without conflicts?
- Custom post type post_type_link gives “page not found” on any other custom post type
- Two CPT: one is using part of the custom rewrite slug from the other
- Slugs on hierarchical taxonomies
- Template hierarchy changes when custom post-type permalink leverages custom taxonomy
- Group based routing and administration
- Adding Custom Taxonomy Along-with Post Name in Post Type Permalink
- Display a Custom Post Type within another with hierarchically slug
- Associate custom CPT with another CPT’s taxonomy and rewrite permalinks
- Custom Post Type rewrite url to /category/pagetitle [duplicate]
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- Custom Post Type tag taxonomy “Page Not Found”
- page not found for example.com/custom-post-name
- Get the custom post type slug but remove the rewrite prefix?
- Rewriting archive page slug to be different than custom post type slug
- Rewrite for custom type and custom taxonomy
- redirect old post type url to new structure url
- Why won’t this rewrite rule work?
- archive-{custom_post_type}.php not getting recognized wordpress
- Archive.php is not displaying tags
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- Costum post type with costum (sub)taxonomy
- Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks
- Parent cpt/child custom post type URL permalink relationship
- How to make nested custom post type slugs work
- WP Query Post Type with same Taxonomy name
- WP Query WordPress Post Type with the same Taxonomy name
- Adding rewrite rules to Custom Post-type mixed with Taxonomy
- Display results from two Custom Post Types in page template
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Ideal top-level slug methods
- Custom Taxonomy in Permalink from post type
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Url rewrite with custom post type and taxonomy