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
- Theme localization of “slugs” (custom post types, taxonomies)
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- Filtering a custom post type by custom taxonomy in archive template
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- get term archive url / link
- Permalink rewrite 404 conflict- WordPress Taxonomies/ CPT
- Pagination throws 404 error on custom taxonomy archive pages
- Taxonomy archive with same slug as custom post type?
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Help with a TV series Rewrite structure
- Taxonomy archives based on Custom Post Type
- How to Add Pages Under Custom Post Type URL Structure?
- How to check if last uri segment is a custom post type or taxonomy term?
- WP Rewrite Rules – Custom post type & taxonomy
- Removing CPT slug from URL results in 404 error for archive page
- Custom Post Type pagination when CPT ‘rewrite’ rule and a page have the same slug
- Remove base slug in CPT & CT, use CT in permalink
- Rewrite CPT slug with two taxonomy slug instead of one
- How to create archive page for taxonomy terms within custom post type
- Category and post tag archives do not include posts from custom post type
- Custom Permalink Tag breaks Pagination
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Permalink for Taxonimie and Custom Post Type
- Custom Taxonomy breaking pages permalinks
- Adding the taxonomy before the custom post type
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Custom post type with slug for plural (archive) and for single
- Permalink Structure CPT With Custom Taxonomy Fails
- Parent & Child Taxonomy slugs in custom post permalink
- Custom post type and taxonomy slug issue
- Custom post types archive redirect
- Does WordPress limit the length of slug names for Post Meta or Terms?
- Custom Post Type Archive Page Filtering
- Root slug of taxonomy returning 404
- Remove url rewrites for registered taxonomies
- CPT custom archive template does not get loaded
- Am I using the flush_rewrite_rules function in the right place?
- Create template for taxonomy results limited by Custom Post Type
- 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 Permalinks with CPT and Hierarchical Taxonomies
- 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?
- Different slug taxonomy for two different CPT
- Taxonomy archive 404ing (not term archive)
- Custom taxonomy or custom page templates?
- Only show posts with a specific term of an associated taxonomy in a custom post type archive
- 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
- WordPress custom taxonomy page
- 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
- 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)?
- 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]
- The page or ad listing you are trying to reach no longer exists or has expired
- Template hierarchy changes when custom post-type permalink leverages custom taxonomy
- 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]
- Custom Post Type tag taxonomy “Page Not Found”
- page not found for example.com/custom-post-name
- 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
- 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
- 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
- Custom Post Type with multiple Custom Taxonomies / Hide Taxonomy Slug from URL
- Show custom category archive as front page and remove taxonomy slug from urls
- Two Permalinks with one Taxonomy (custom taxonomy) and (custom post type -> custom taxonomy)
- Is it possible to use a post name in a custom post slug?
- Taxonomy Archive URL + Template